[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: bug: git name-rev --stdin --no-undefined on detached head
From: Philip Oakley <philipoakley () iee ! email>
Date: 2021-12-31 17:16:43
Message-ID: 9b13b1d1-8e0f-b5c9-ad66-7a0e63eb0b13 () iee ! email
[Download RAW message or body]
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@tvgsbejvaqbjf.bet/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic