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.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds