Re: [PATCH 2/2] FRV: Move to arch/frv/include/asm/

From: Linus Torvalds
Date: Thu Apr 09 2009 - 17:21:18 EST




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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/