[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (fo
From: |
Eli Zaretskii |
Subject: |
bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git) |
Date: |
Thu, 14 Dec 2023 21:51:36 +0200 |
> Date: Thu, 14 Dec 2023 11:42:45 -0800
> Cc: 67062@debbugs.gnu.org, dmitry@gutov.dev
> From: Jim Porter <jporterbugs@gmail.com>
>
> On 11/13/2023 6:19 AM, Eli Zaretskii wrote:
> > This solution is also fine by me.
> >
> > Thanks.
Please in the future try retaining more of the context, so that what
"this solution" was will be clear even without the need to look up the
previous messages. This is especially important when the previous
message happened long enough for people to forget the point where we
left it, like in this case.
> +*** 'vc-annotate' can now abbreviate the revision in the buffer name.
> +VC backends with a 'vc-BACKEND-short-revision' function can show the
> +revision in a shorter form, and 'vc-annotate' will use this form in
> +its buffer name. Currently, the Git backend supports this.
This should mention the new defcustom as well.
Also, "only Git supports this" sounds like the other backends are in
some kind of disadvantage, whereas the truth is that only Git needs
this, since its usual full revision IDs are so long.
> +(defcustom vc-git-use-short-revisions t
> + "If non-nil, use short Git revisions when requested.
The "when requested" part is too vague to leave it at that. Please
elaborate in the doc string: when will it "be requested"? One way is
to mention the commands affected by that option.
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git), Jim Porter, 2023/12/14
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git),
Eli Zaretskii <=
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git), Eli Zaretskii, 2023/12/15
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git), Jim Porter, 2023/12/15
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git), Eli Zaretskii, 2023/12/15
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git), Jim Porter, 2023/12/23
- bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git), Dmitry Gutov, 2023/12/23