Re: diff without num-stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> writes:

> Eli Barzilay venit, vidit, dixit 22.04.2010 21:02:
>> `git diff' has a `--numstat' flag, but is there any way to *avoid* the
>> numstat?  (I'm using `--stat' but want to void the summary line, and
>> I'd like to avoid piping it to `head'.)
>
> So, what DO you want? Except for the different formatting:
>
> --stat output minus --numstat output == summary line
>
> where "summary line" is something like
>
> 5 files changed, 5974 insertions(+), 0 deletions(-)
>
> Do you want to (a)void the numstat or the summary?

Summary is "create mode ..." etc. and you can already enable/disable it.

That "N files +M/-N lines in total" is _not_ a summary; it is an integral
part of ascii-graphical --stat output, which is supposed to produce output
like "git diff -p | diffstat".  We won't split it out of --stat without a
very good reason, there doesn't seem to be an option to "diffstat" for
such a thing, so...






--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]