Re: How is the ^{sha256} peel syntax supposed to work?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 29, 2018, 17:59 UTC
- Message-ID
- <20180829175950.GB7547@aiede.svl.corp.google.com>
- In-Reply-To
- <CAGZ79kaGb_TL7SiR4CFGFzrfy2Lotioy76o6sUK4=vZK5qwqNA@mail.gmail.com>
Stefan Beller wrote:
> And with that model, <hexdigits>^{sha256}^{tree}
> could mean to obtain the sha256 value of <hexvalue> and then derive
> the tree from that object,What does "the sha256 value of <hexvalue>" mean?
For example, in a repository with two objects:
1. an object with sha1-name abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd
and sha256-name ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01 2. an object with sha1-name ef01ef01ef01ef01ef01ef01ef01ef01ef01ef01
and sha256-name abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd...what objects would you expect the following to refer to?
abcdabcd^{sha1}
abcdabcd^{sha256}
ef01ef01^{sha1}
ef01ef01^{sha256}Thanks, Jonathan