From: Greg KH Date: Tue, 14 Feb 2006 06:44:35 GMT Subject: Re: diffstat wierdness with 'git format-patch' output Message-ID: <20060214064435.GA19831@kroah.com> In-Reply-To: <7vlkwev41k.fsf@assigned-by-dhcp.cox.net> On Mon, Feb 13, 2006 at 10:37:59PM -0800, Junio C Hamano wrote: > Greg KH writes: > > >> Have you tried "git apply --stat" instead? > > > > How would that work after I've allready applied the patches to a branch? > > Sorry I was unclear. By "instead", I meant "instead of running > diffstat -p1". That doesn't give me a summary of all of the changes I made to the tree: $ git apply --stat *.txt drivers/hwmon/vt8231.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) drivers/hwmon/w83781d.c | 43 +++++++++++++++++++++++++------------------ 1 files changed, 25 insertions(+), 18 deletions(-) Documentation/hwmon/w83627hf | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) drivers/hwmon/it87.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) drivers/i2c/busses/i2c-isa.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) Instead of: Documentation/hwmon/w83627hf | 4 ++++ drivers/hwmon/it87.c | 3 ++- drivers/hwmon/vt8231.c | 8 ++++---- drivers/hwmon/w83781d.c | 43 +++++++++++++++++++++++++------------------ drivers/i2c/busses/i2c-isa.c | 12 ------------ 5 files changed, 35 insertions(+), 35 deletions(-) Which is what I need to put into a "please pull from this tree" email message. thanks, greg k-h