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: Clément Pit--Claudel
Subject: bug#27953: vc-region-history doesn't follow renames
Date: Fri, 4 Aug 2017 17:12:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

X-Debbugs-CC: monnier@iro.umontreal.ca

Hi bug-gnu-emacs,

vc-git-region-history currently stops at the first rename, instead of 
continuing across renames.  This is because it doesn't pass --follow to git.  
The original author put the required option "--follow" in a comment, adding 
"FIXME: not supported?".

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).

Any arguments against the attached patch?

(CCing Stefan, since you're the last one who modified this function)

Clément.

Attachment: 0001-Follow-renames-in-vc-git-region-history.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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