Lionel Dyck <[email protected]> writes:
Hi Lionel,
> I have a requirement to report which specific files are updated during
> a merge.
I think you can do
git show -m --first-parent --name-only <merge-commit>
after you have committed the merge. Have a look at the git log docs
about the -m option.
-m
This flag makes the merge commits show the full diff like
regular commits; for each merge parent, a separate log entry
and diff is generated. An exception is that only diff against
the first parent is shown when --first-parent option is
given; in that case, the output represents the changes the
merge brought into the then-current branch.
Bye,
Tassilo
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/git-users/87lfpi1qnt.fsf%40gnu.org.