[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DE676C.6030802@oracle.com>
Date: Thu, 09 Apr 2009 14:23:56 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: David Howells <dhowells@...hat.com>, akpm@...ux-foundation.org,
sam@...nborg.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] FRV: Move to arch/frv/include/asm/
Linus Torvalds wrote:
>
> 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.
David: Documentation/SubmittingPatches:/git diff/ =>
'Please use "git diff -M --stat --summary" to generate the diffstat:
the -M enables rename detection, and the summary enables a summary of
new/deleted or renamed files.'
--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists