Thanks you for the example.. On 24/12/2021 19:42, Junio C Hamano wrote: > * The sample input was produced with > > $ cat >sample.txt <<EOF > A revision that exists $(git rev-parse --short HEAD) is shown here, > and its full name is $(git rev-parse HEAD) > while its tree object is $(git rev-parse HEAD:) > which probably is undescribable hexdigits. > EOF > > if you want to try it at home ;-) The ` $(git rev-parse HEAD:) ` technique is serendipitous. I'd forgotten that was how to get the commit object's tree for further investigation, as I'd need it for my `deadhead` query [1], as used regularly in the Git-for-Windows merging-rebase (see also [2]). Philip [1] https://lore.kernel.org/git/be7ec330-2b2c-a01f-c7ca-e5e752493ee0@iee.email/ [2] https://lore.kernel.org/git/nycvar.QRO.7.76.6.2112101528200.90@xxxxxxxxxxxxxxxxx/