* merges and git log --stat
@ 2010-05-06 19:26 SZEDER Gábor
2010-05-06 20:13 ` Junio C Hamano
0 siblings, 1 reply; 4+ messages in thread
From: SZEDER Gábor @ 2010-05-06 19:26 UTC (permalink / raw)
To: git
Hi,
I've just noticed that 'git log --stat' does not print the diffstat
for merge commits. Is this intentional?
Thanks,
Gábor
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: merges and git log --stat
2010-05-06 19:26 merges and git log --stat SZEDER Gábor
@ 2010-05-06 20:13 ` Junio C Hamano
2010-05-06 20:36 ` SZEDER Gábor
0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2010-05-06 20:13 UTC (permalink / raw)
To: SZEDER Gábor; +Cc: git
SZEDER Gábor <szeder@ira.uka.de> writes:
> I've just noticed that 'git log --stat' does not print the diffstat
> for merge commits. Is this intentional?
It's very much designed so. You cannot clearly define "diff from which
parent you would want to see".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: merges and git log --stat
2010-05-06 20:13 ` Junio C Hamano
@ 2010-05-06 20:36 ` SZEDER Gábor
2010-05-06 23:58 ` Junio C Hamano
0 siblings, 1 reply; 4+ messages in thread
From: SZEDER Gábor @ 2010-05-06 20:36 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
That was fast, thank you.
On Thu, May 06, 2010 at 01:13:23PM -0700, Junio C Hamano wrote:
> SZEDER Gábor <szeder@ira.uka.de> writes:
>
> > I've just noticed that 'git log --stat' does not print the diffstat
> > for merge commits. Is this intentional?
>
> It's very much designed so. You cannot clearly define "diff from which
> parent you would want to see".
I see. Perhaps it would make sense to show the diffstat from the
point of view of the first parent, but maybe I'm biased by my current
use case. Anyway, it seems that I can easily get what I need with a
bit of scripting, so it's not a major issue.
Best,
Gábor
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: merges and git log --stat
2010-05-06 20:36 ` SZEDER Gábor
@ 2010-05-06 23:58 ` Junio C Hamano
0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2010-05-06 23:58 UTC (permalink / raw)
To: SZEDER Gábor; +Cc: git
SZEDER Gábor <szeder@ira.uka.de> writes:
> .. Anyway, it seems that I can easily get what I need with a
> bit of scripting, so it's not a major issue.
Yes, you would need to script it if you count adding "--first-parent -m"
on the command line as "scripting" ;-)
$ git log --stat --first-parent -m
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-06 23:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 19:26 merges and git log --stat SZEDER Gábor
2010-05-06 20:13 ` Junio C Hamano
2010-05-06 20:36 ` SZEDER Gábor
2010-05-06 23:58 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).