Re: git log --stat FILE
From: Jakub Narebski <hidden>
Date: 2016-06-15 22:49:16
Marcus Comstedt [off-list ref] writes:
Hi guys. I'm probably just missing something here, but I've run across a rather annoying behavior of log. When I do "git log --stat FILE", then only commits which touch FILE are displayed, as expected. However, contrary to expectation (well, my expectation at least), the stat shows that only one file (FILE) is modified by the commits, even if they actually modified multiple files. That's not what I wanted; I used FILE to select commits, not to control how they are presented. In fact, the information which is hidden is exactly that which I wanted to see; the whole reason for the --stat was that I wanted to know what _other_ files were modified together with FILE. What's worse, I could not find how to circumvent this behavior, [...]
See --full-diff option to git-log. -- Jakub Narebski Poland ShadeHawk on #git