{"thread":{"id":"37541","subject":"Is the a way to get a log with files that were changed","startedAt":"2014-09-12T01:46:26Z","lastAt":"2014-09-12T02:26:01Z","messageCount":2,"participants":["Stephen Smith","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"249273","messageId":"FD6D2EE2-AD97-4D40-B461-435FD18D7E1A@gmail.com","threadId":"37541","inReplyTo":null,"subject":"Is the a way to get a log with files that were changed","fromName":"Stephen Smith","fromEmail":"ishchis2@gmail.com","sentAt":"2014-09-12T01:46:26Z","receivedAt":"2014-09-12T01:46:26Z","isPatch":false,"sender":{"key":"ishchis2@gmail.com","avatar":null},"body":"\nIs there a way to get a log of first parent  commits and with each commit a entry a list of the files that were changed?\n\nSPS\nSent from my iPhone"},{"id":"249274","messageId":"20140912022600.GA15519@peff.net","threadId":"37541","inReplyTo":"FD6D2EE2-AD97-4D40-B461-435FD18D7E1A@gmail.com","subject":"Re: Is the a way to get a log with files that were changed","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-09-12T02:26:01Z","receivedAt":"2014-09-12T02:26:01Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, Sep 12, 2014 at 07:16:26AM +0530, Stephen Smith wrote:\n\n> Is there a way to get a log of first parent  commits and with each\n> commit a entry a list of the files that were changed?\n\nHow about:\n\n  git log --first-parent -m --name-only\n\nThe \"--first-parent\" restricts the traversal. The \"-m\" tells git to show\nmerge diffs against their parents. We show only the diff against the\nfirst parent due to \"--first-parent\", so we effectively show the diff of\nwhat was brought in by the merge. And then \"--name-only\" can be replaced\nwith \"--raw\", \"-p\", or whatever diff format you prefer.\n\n-Peff\n"}]}