git show -m with a parent number
- From
Anatoly Borodin <anatoly.borodin@gmail.com>
- Date
- Mar 27, 2016, 20:46 UTC
- Message-ID
- <nd9gq6$412$1@ger.gmane.org>
Hi All,
is there a good reason for `git show -m` to not accept the number of a parent of a merge commit? I can run `git show --first-parent COMMIT`, but need to write `git diff COMMIT^2 COMMIT` every time I want to diff with the second parent!
`git cherry-pick -m 2 COMMIT` works, so why can't `git log` work like that?
-- Mit freundlichen Grüßen, Anatoly Borodin