git-log --full-history renamed-file
- From
Jim Meyering <jim@meyering.net>
- Date
- Mar 9, 2007, 21:30 UTC
- Message-ID
- <87lki6umts.fsf@rho.meyering.net>
Hello,
Is there some git-log-like command (or some git-log option) to print a log of deltas affecting a file across renames?
I know that git-annotate can detect renames (and gitk), but that's not quite the interface I was looking for.
I've tried with git-log --full-history, with and without --parents, to no avail. Adding --parents does make it produce a couple more log entries, but they are not relevant.
The "Why does git not track renames?" section in the wiki, http://git.or.cz/gitwiki/Godfry says that "git-log -M" will do what I want, but that appears to have no effect.
To be precise, I'd like to run a command like this
git-log <options> current-name
to summarize the commits affecting current-name as well as those affecting old-name (which I git-mv'd to current-name).
Jim