From: Anatoly Borodin <anatoly.borodin@gmail.com>
To: git@vger.kernel.org
Subject: git show -m with a parent number
Date: Sun, 27 Mar 2016 20:46:02 +0000 (UTC) [thread overview]
Message-ID: <nd9gq6$412$1@ger.gmane.org> (raw)
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
next reply other threads:[~2016-03-27 20:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-27 20:46 Anatoly Borodin [this message]
2016-03-28 19:16 ` git show -m with a parent number Jeff King
2016-03-28 19:31 ` Junio C Hamano
2016-03-30 12:31 ` Anatoly Borodin
2016-03-30 16:55 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='nd9gq6$412$1@ger.gmane.org' \
--to=anatoly.borodin@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.