{"thread":{"id":"23719","subject":"merges and git log --stat","startedAt":"2010-05-06T19:26:16Z","lastAt":"2010-05-06T23:58:45Z","messageCount":4,"participants":["SZEDER Gábor","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"141079","messageId":"20100506192616.GS4599@neumann","threadId":"23719","inReplyTo":null,"subject":"merges and git log --stat","fromName":"SZEDER Gábor","fromEmail":"szeder@ira.uka.de","sentAt":"2010-05-06T19:26:16Z","receivedAt":"2010-05-06T19:26:16Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"Hi,\n\nI've just noticed that 'git log --stat' does not print the diffstat\nfor merge commits.  Is this intentional?\n\nThanks,\nGábor\n"},{"id":"141081","messageId":"7vsk64hjq4.fsf@alter.siamese.dyndns.org","threadId":"23719","inReplyTo":"20100506192616.GS4599@neumann","subject":"Re: merges and git log --stat","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-05-06T20:13:23Z","receivedAt":"2010-05-06T20:13:23Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"SZEDER Gábor <szeder@ira.uka.de> writes:\n\n> I've just noticed that 'git log --stat' does not print the diffstat\n> for merge commits.  Is this intentional?\n\nIt's very much designed so.  You cannot clearly define \"diff from which\nparent you would want to see\".\n"},{"id":"141085","messageId":"20100506203639.GV4599@neumann","threadId":"23719","inReplyTo":"7vsk64hjq4.fsf@alter.siamese.dyndns.org","subject":"Re: merges and git log --stat","fromName":"SZEDER Gábor","fromEmail":"szeder@ira.uka.de","sentAt":"2010-05-06T20:36:39Z","receivedAt":"2010-05-06T20:36:39Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"That was fast, thank you.\n\nOn Thu, May 06, 2010 at 01:13:23PM -0700, Junio C Hamano wrote:\n> SZEDER Gábor <szeder@ira.uka.de> writes:\n> \n> > I've just noticed that 'git log --stat' does not print the diffstat\n> > for merge commits.  Is this intentional?\n> \n> It's very much designed so.  You cannot clearly define \"diff from which\n> parent you would want to see\".\n\nI see.  Perhaps it would make sense to show the diffstat from the\npoint of view of the first parent, but maybe I'm biased by my current\nuse case.  Anyway, it seems that I can easily get what I need with a\nbit of scripting, so it's not a major issue.\n\nBest,\nGábor\n"},{"id":"141104","messageId":"7vhbmkh9ai.fsf@alter.siamese.dyndns.org","threadId":"23719","inReplyTo":"20100506203639.GV4599@neumann","subject":"Re: merges and git log --stat","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-05-06T23:58:45Z","receivedAt":"2010-05-06T23:58:45Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"SZEDER Gábor <szeder@ira.uka.de> writes:\n\n> ..  Anyway, it seems that I can easily get what I need with a\n> bit of scripting, so it's not a major issue.\n\nYes, you would need to script it if you count adding \"--first-parent -m\"\non the command line as \"scripting\" ;-)\n\n\t$ git log --stat --first-parent -m\n"}]}