How were the moved/renamed files accounted for ?
Posted Mar 2, 2010 1:13 UTC (Tue) by
jnareb (subscriber, #46500)
In reply to:
How were the moved/renamed files accounted for ? by phdm
Parent article:
How old is our kernel?
In my experience, 'git log -M' did never give the full log of a single file.
I have now discovered that 'git log --follow' does.
Actually the problem is that in "git log -M
filename" the
filename part is path limiter, and is applied (for history simplification) before rename detection, and that is why you need "git log --follow
filename". "git log -M" (no pathspec), or "git log -M
directory" should work as expected.
(
Log in to post comments)