On 15 Aug 2015 20:45, "Peter Stuge" <pe...@stuge.se> wrote: > > Hi and happy Git days! :) > > > Robin H. Johnson wrote: > > It expands to the hash of the blob of that file; and from that, you can > > identify which commits the blob exists in. > > $ git ls-tree HEAD README > 100644 blob 08ae16956b8944da2fef75fee892dcba457cf4f0 README > $ > > $ (stat --printf='blob %s\0' README; cat README) | sha1sum > 08ae16956b8944da2fef75fee892dcba457cf4f0 - > $ > > This is so simple to generate that it doesn't really need a > placeholder in every ebuild in the repository. > > > > The primary use case of it is to allow users to easily see what > > version of a given ebuild they are using. > > I guess the merits of this use case are up for discussion also > outside of infra? > > I think a single tree-wide identifier (let's it a snapshot identifier?) > would be far more useful.
I already filed a bug for this: https://bugs.gentoo.org/557366 -- Jason