git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: merges and git log --stat

From
Junio C Hamano <gitster@pobox.com>
Date
May 6, 2010, 20:13 UTC
Message-ID
<7vsk64hjq4.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100506192616.GS4599@neumann>
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".

Previous: SZEDER GáborNext: SZEDER Gábor
Message 2 of 4 in “merges and git log --stat”
  1. SZEDER GáborMay 6, 2010
  2. Junio C HamanoMay 6, 2010
  3. SZEDER GáborMay 6, 2010
  4. Junio C HamanoMay 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.