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

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

bug#27953: vc-region-history doesn't follow renames


From: Stefan Monnier
Subject: bug#27953: vc-region-history doesn't follow renames
Date: Fri, 04 Aug 2017 13:21:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> Indeed, `git log -p --follow -L5,25:file.c' doesn't work.  But `git
> log -p --follow -L5,25:file.c file.c' does work (note the extra mention of
> the file name).

Hmm... what's the difference between

    git log -p -L5,25:file.c
and
    git log -p -L5,25:file.c file.c

?

Would this issue deserve a bug-report to Git?

> Any arguments against the attached patch?

I'd suggest to compute (file-relative-name file) only once, and to add
bug#27953 to the comment, but otherwise, looks good.


        Stefan





reply via email to

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