From: Miklos Vajna Date: Wed, 30 Jul 2008 14:55:34 GMT Subject: Re: Feature suggestion: git-hist Message-ID: <20080730145534.GD32057@genesis.frugalware.org> In-Reply-To: <20080730155835.71289eee@pc09.procura.nl> On Wed, Jul 30, 2008 at 03:58:35PM +0200, "H.Merijn Brand" 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 -- ) to get the _hash_ of the _commit_ (ie. not the version of a file) that touched the file last time.