emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-region-history: HG?


From: Stefan Monnier
Subject: Re: vc-region-history: HG?
Date: Tue, 16 Jan 2018 16:15:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> In case it is not clear, the command is
>
> git log -p -L10,20:foo.c
>
> for printing the history of lines 10 to 20 of file foo.c

And FWIW, it should be possible to implement a "generic" fallback which
calls vc-annotate to get relevant revisions, then vc-print-log and
vc-diff to extract the corresponding data.  It would probably be
slowish, but I'd welcome such an addition.


        Stefan




reply via email to

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