From: Junio C Hamano Date: Fri, 14 Aug 2020 19:25:47 GMT Subject: Re: [PATCH 0/3] SHA-256: Update commit-graph and multi-pack-index formats Message-ID: In-Reply-To: "Derrick Stolee via GitGitGadget" writes: > As discussed [1], there is some concern around binary file formats requiring > the context of the repository config in order to infer hash lengths. Two > formats that were designed with the hash transition in mind (commit-graph > and multi-pack-index) have bytes available to indicate the hash algorithm > used. Let's actually update these formats to be more self-contained with the > two hash algorithms being available. > ... > If this is the way we want to go with the formats, then I'll assist > coordinating these textual and semantic merge conflicts. I agree that the files should be self-identifying, but have these changes tested without sha256 hash?