1 |
Hi and happy Git days! :) |
2 |
|
3 |
|
4 |
Robin H. Johnson wrote: |
5 |
> It expands to the hash of the blob of that file; and from that, you can |
6 |
> identify which commits the blob exists in. |
7 |
|
8 |
$ git ls-tree HEAD README |
9 |
100644 blob 08ae16956b8944da2fef75fee892dcba457cf4f0 README |
10 |
$ |
11 |
|
12 |
$ (stat --printf='blob %s\0' README; cat README) | sha1sum |
13 |
08ae16956b8944da2fef75fee892dcba457cf4f0 - |
14 |
$ |
15 |
|
16 |
This is so simple to generate that it doesn't really need a |
17 |
placeholder in every ebuild in the repository. |
18 |
|
19 |
|
20 |
> The primary use case of it is to allow users to easily see what |
21 |
> version of a given ebuild they are using. |
22 |
|
23 |
I guess the merits of this use case are up for discussion also |
24 |
outside of infra? |
25 |
|
26 |
I think a single tree-wide identifier (let's it a snapshot identifier?) |
27 |
would be far more useful. |
28 |
|
29 |
|
30 |
Kind regards |
31 |
|
32 |
//Peter |