From: Yubin Ruan <ablacktshirt@gmail.com>
To: git@vger.kernel.org
Subject: Meaning of two commit-ish hash in git diff
Date: Tue, 31 Oct 2017 11:24:22 +0800 [thread overview]
Message-ID: <ab9b5c63-ca38-6157-6732-78aa5d5f291f@gmail.com> (raw)
Hi,
Can anyone tell me what does the "f8886b4..a1c96df" mean in a git diff output,
as below?
diff --git a/path/somefile b/path/somefile
index f8886b4..a1c96df 100644
--- a/path/somefile
+++ b/path/somefile
<snip>
This is output by a `git diff` between two adjacent commits but they are
not any commit hash. I grep through the whole $(git log) but still cannot
find those hash.
And BTW, are there any special meanings for that .. ?
Thanks,
Yubin
next reply other threads:[~2017-10-31 3:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-31 3:24 Yubin Ruan [this message]
2017-10-31 4:28 ` Meaning of two commit-ish hash in git diff Junio C Hamano
2017-11-01 0:27 ` Philip Oakley
2017-11-01 1:07 ` Yubin Ruan
2017-11-01 2:48 ` Junio C Hamano
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=ab9b5c63-ca38-6157-6732-78aa5d5f291f@gmail.com \
--to=ablacktshirt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox