Re: git diff <-> diffstat

From: Junio C Hamano
Date: Sun Sep 24 2006 - 22:18:27 EST

Adrian Bunk <bunk@xxxxxxxxx> writes:

> Is there any way for "git diff" to handle additional options diffstat
> handles? I'm a big fan of the -w72 diffstat option.

No, but patches are welcome ;-).

> Oh, and with git,
> git diff -M --stat --summary v2.6.18..master
> in your tree gives me some funny lines like:
> .../netlabel/draft-ietf-cipso-ipsecurity-01.txt | 791 +
> .../{cpu_setup_power4.S => cpu_setup_ppc970.S} | 103
> .../powerpc/platforms}/iseries/it_exp_vpd_panel.h | 6
> .../powerpc/platforms}/iseries/it_lp_naca.h | 6
> I don't know what's going wrong here, but diffstat doesn't produce this.

Of course diffstat does not know how to grok -M and it would not
note renames.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at