Thread (12 messages) flat view 12 messages, 3 authors, 2016-06-15

Re: ident hash usage question

From: Alex Riesen <hidden>
Date: 2016-06-15 22:47:35

On Tue, Oct 20, 2009 at 20:16, Alex Riesen [off-list ref] wrote:
On Tue, Oct 20, 2009 at 19:24, Eugene Sajine [off-list ref] wrote:
quoted
I was able to get the $Id$ keyword to show the SHA-1 hash of the file
content, which is done using ident in gitattributes. Now I’m trying to
find a way to get more info about the file using only this hash.

Could you , please, advise if there is a way to get file name and path
inside the repo by having only this Blob hash?
It is not possible.
Well, not exactly impossible, but you can end up with multiple paths,
some of which may not have anything to do the original path.

Just run git log --no-abbrev --raw --all and grep for the SHA-1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help