git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Meaning of two commit-ish hash in git diff

From
YRYubin Ruan <ablacktshirt@gmail.com>
Date
Oct 31, 2017, 03:24 UTC
Message-ID
<ab9b5c63-ca38-6157-6732-78aa5d5f291f@gmail.com>
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: Junio C Hamano
Message 1 of 5 in “Meaning of two commit-ish hash in git diff”
  1. Yubin RuanOct 31, 2017
  2. Junio C HamanoOct 31, 2017
  3. Philip OakleyNov 1, 2017
  4. Yubin RuanNov 1, 2017
  5. Junio C HamanoNov 1, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.