Re: merges and git log --stat

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: merges and git log --stat

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:45

SZEDER Gábor [off-list ref] 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".

Re: merges and git log --stat

From: SZEDER Gábor <hidden>
Date: 2016-06-15 22:48:45

That was fast, thank you.

On Thu, May 06, 2010 at 01:13:23PM -0700, Junio C Hamano wrote:
SZEDER Gábor [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help