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

Re: Feature suggestion: git-hist

From: Miklos Vajna <hidden>
Date: 2016-06-15 22:45:04

On Wed, Jul 30, 2008 at 03:58:35PM +0200, "H.Merijn Brand" [off-list ref] wrote:
We are not used to working with $SHA's, and IMHO from the end-user pov,
a $SHA is less user friendly than a release number or a file version. I
can remember a version, but I cannot remember a SHA.
But a version is never unique in a distributed environment. So a version
is useless without at least an abbreviated hash.

If pure hashes are not friendly enough, you can use something like:

git describe $(git rev-list -1 HEAD -- <file>)

to get the _hash_ of the _commit_ (ie. not the version of a file) that
touched the file last time.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help