Re: Meaning of two commit-ish hash in git diff
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 1, 2017, 02:48 UTC
- Message-ID
- <xmqqfu9yww7x.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <127f7748-4b5d-f6be-2c64-fa4ee079b871@gmail.com>
Yubin Ruan <ablacktshirt@gmail.com> writes:
Show 13 quoted lines
>>> IOW, if you have the contents of the blob whose object name is >>> f8886b4, by applying this patch, you will get a blob whose object >>> name is a1c96df. >>> >>> The information is used by "git am -3" when the patch does not apply >>> cleanly to fall back to the 3-way merge. >> >> The ability to 'git describe` those blob object IDs is currently the subject of a patch series >> https://public-inbox.org/git/20171031211852.13001-1-sbeller@google.com/ >> >> Maybe see if would have helped ;-) > > What would be other use case of the blob object / blob name ?
Perhaps start from "git cat-file blob $name". And follow the path your imagination leads you to ;-)