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: Andreas Schwab
Subject: bug#27953: vc-region-history doesn't follow renames
Date: Fri, 04 Aug 2017 19:40:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

On Aug 04 2017, Stefan Monnier <monnier@IRO.UMontreal.CA> wrote:

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

The latter is supposed to be invalid:

       -L <start>,<end>:<file>, -L :<funcname>:<file>
           Trace the evolution of the line range given by "<start>,<end>" (or
           the function name regex <funcname>) within the <file>. You may not
                                                                  ^^^^^^^^^^^
           give any pathspec limiters.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

> Would this issue deserve a bug-report to Git?

It does.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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