[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.
0001-Follow-renames-in-vc-git-region-history.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature
- bug#27953: vc-region-history doesn't follow renames,
Clément Pit--Claudel <=
- bug#27953: vc-region-history doesn't follow renames, Stefan Monnier, 2017/08/04
- bug#27953: vc-region-history doesn't follow renames, Andreas Schwab, 2017/08/04
- bug#27953: vc-region-history doesn't follow renames, Clément Pit--Claudel, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Kyle Meyer, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Eli Zaretskii, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Andreas Schwab, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Eli Zaretskii, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Kyle Meyer, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Clément Pit--Claudel, 2017/08/05
- bug#27953: vc-region-history doesn't follow renames, Kyle Meyer, 2017/08/05