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: Eli Zaretskii
Subject: bug#67062: 30.0.50; [PATCH] Abbreviate the revision in 'vc-annotate' (for Git)
Date: Mon, 13 Nov 2023 16:19:47 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: Dmitry Gutov <dmitry@gutov.dev>,  Eli Zaretskii <eliz@gnu.org>,
>   67062@debbugs.gnu.org
> Date: Mon, 13 Nov 2023 09:02:35 +0200
> 
> > We just want to take that revision and turn it into a friendlier
> > (read: shorter) form for the buffer name.
> 
> Then the best solution is to introduce a new variable
> 'vc-short-revision' that vc-annotate should either set as a
> buffer-local value or let-bind around the vc backend API call.
> 
> Then the git backend could use it optionally depending
> on the value of a new user option 'vc-git-short-revision'.

This solution is also fine by me.

Thanks.





reply via email to

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