GNU bug report logs - #27953
vc-region-history doesn't follow renames

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Fri, 4 Aug 2017 15:13:02 UTC

Severity: normal

Done: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27953 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: 27953 <at> debbugs.gnu.org
Subject: Re: bug#27953: vc-region-history doesn't follow renames
Date: Fri, 04 Aug 2017 13:21:35 -0400
> 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




This bug report was last modified 7 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.