lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 25 Sep 2006 03:14:36 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Linus Torvalds <torvalds@...l.org>
Cc:	Jeff Garzik <jeff@...zik.org>, Andrew Morton <akpm@...l.org>,
	LKML <linux-kernel@...r.kernel.org>, junkio@....net
Subject: git diff <-> diffstat

On Sun, Sep 24, 2006 at 05:34:05PM -0700, Linus Torvalds wrote:
> 
> 
> On Sun, 24 Sep 2006, Jeff Garzik wrote:
> > 
> > Right now I just pipe 'git diff master..branch' to diffstat.
> 
> Ok. That just means that you can change it do say
> 
> 	git diff -M --stat --summary master..branch
> 
> and you get exactly what you need. No need for a separate diffstat at all, 
> and you get all the renaming and summary printout.

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

Oh, and with git 1.4.2.1,
  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.

> 		Linus

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ