Messages in this thread |  | | | Date | Thu, 9 Apr 2009 14:18:25 -0700 (PDT) | | From | Linus Torvalds <> | | Subject | Re: [PATCH 2/2] FRV: Move to arch/frv/include/asm/ |
| |
On Thu, 9 Apr 2009, David Howells wrote: > I should've used: > > stg mail -diff-opts=-M > > it would appear. I wonder if this should be the default.
Ahh. I've never used stg. It seems to have some bad defaults.
Also, depending on exactly what "stg" does, it is entirely possible that adding that
[diff] renames
to your .gitconfig won't help: those kinds of default configuration values are (very much on purpose) ignored for certain low-level git commands, exactly so that you can do reliable scripting without having to worry about some user-specific config files.
> Note that > > git-diff -M HEAD^ HEAD > > does not make output that looks like yours. It's missing the: > > {include/asm-frv => arch/frv/include/asm}/Kbuild | 0 > {include/asm-frv => arch/frv/include/asm}/atomic.h | 0
Those come from "--summary", which summarizes file creation, deletion and movement. Almost always combined with "--stat", but apparently the "--stat" part is again in that "stg mail" script.
Linus
|  |