Re: [PATCH 2/2] FRV: Move to arch/frv/include/asm/
From: David Howells
Date: Thu Apr 09 2009 - 17:53:53 EST
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> 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.
That affects 'stg show' but not 'stg mail'.
It looks like 'stg mail' is generating the stats with git-apply on the results
of a diff:
def diffstat(files = None, rev1 = 'HEAD', rev2 = None):
"""Return the diffstat between rev1 and rev2."""
return GRun('apply', '--stat', '--summary'
).raw_input(diff(files, rev1, rev2)).raw_output()
which seems to mean that I can't reduce them from the:
arch/frv/include/asm/Kbuild | 5
arch/frv/include/asm/atomic.h | 198 +++++++++++
arch/frv/include/asm/auxvec.h | 4
arch/frv/include/asm/ax88796.h | 22 +
arch/frv/include/asm/bitops.h | 412 +++++++++++++++++++++++
arch/frv/include/asm/bug.h | 53 +++
...
include/asm-frv/Kbuild | 5
include/asm-frv/atomic.h | 198 -----------
include/asm-frv/auxvec.h | 4
include/asm-frv/ax88796.h | 22 -
include/asm-frv/bitops.h | 412 -----------------------
include/asm-frv/bug.h | 53 ---
...
to the:
{include/asm-frv => arch/frv/include/asm}/Kbuild | 0
{include/asm-frv => arch/frv/include/asm}/atomic.h | 0
{include/asm-frv => arch/frv/include/asm}/auxvec.h | 0
.../asm-frv => arch/frv/include/asm}/ax88796.h | 0
{include/asm-frv => arch/frv/include/asm}/bitops.h | 0
{include/asm-frv => arch/frv/include/asm}/bug.h | 0
though it is using git-diff-tree to generate the rest of the patch, which I
can affect with the diff options, it would appear.
Is there a way to get git-diff to produce just the stats and summary and not
the body of the patch?
David
--
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/