Re: git log --follow doesn't follow a rename over a merge
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 16, 2011, 13:25 UTC
- Message-ID
- <m362o5vrhd.fsf@localhost.localdomain>
- In-Reply-To
- <BANLkTimjEp0ntq80qttT9uZN2YGuhsnZBw@mail.gmail.com>
James Blackburn <jamesblackburn@gmail.com> writes:
> I'm trying, without success, to get git log to show the history of a > file across a rename. I'm using git version 1.7.5.4, and git blame > has no such issues tracking the source of the lines.
[...]
> Have I done something wrong in grafting history like this, or is this > just a problem with the way git log --follow tracks renames?
The `--follow` option to git-log is more of a bolted-on hack rather than proper solution, see 750f7b6 (Finally implement "git log --follow", 2007-06-19), and it might not work in all cases.
-- Jakub Narebski Poland ShadeHawk on #git