* Is the a way to get a log with files that were changed
@ 2014-09-12 1:46 Stephen Smith
2014-09-12 2:26 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Smith @ 2014-09-12 1:46 UTC (permalink / raw)
To: git@vger.kernel.org; +Cc: Stephen Smith
Is 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?
SPS
Sent from my iPhone
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is the a way to get a log with files that were changed
2014-09-12 1:46 Is the a way to get a log with files that were changed Stephen Smith
@ 2014-09-12 2:26 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2014-09-12 2:26 UTC (permalink / raw)
To: Stephen Smith; +Cc: git@vger.kernel.org, Stephen Smith
On Fri, Sep 12, 2014 at 07:16:26AM +0530, Stephen Smith wrote:
> Is 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?
How about:
git log --first-parent -m --name-only
The "--first-parent" restricts the traversal. The "-m" tells git to show
merge diffs against their parents. We show only the diff against the
first parent due to "--first-parent", so we effectively show the diff of
what was brought in by the merge. And then "--name-only" can be replaced
with "--raw", "-p", or whatever diff format you prefer.
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-12 2:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12 1:46 Is the a way to get a log with files that were changed Stephen Smith
2014-09-12 2:26 ` Jeff King
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).