bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Dmitry Gutov
Subject: bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git)
Date: Sun, 12 Nov 2023 00:00:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 11/11/2023 09:41, Eli Zaretskii wrote:
If this is a Git-only issue, perhaps it would be better to have a
Git-only option, instead of defining a whole new VC method?

Our general approach is to prefer global options and dynamic dispatch on backends, resorting to using per-backend options when it's much easier to do.

In this case it might actually be more difficult to go the second route since the intention is to only use the short hash in this particular place. vc-annotate is common code and it will need to indicate that intention to the backend somehow.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]