Re: [RFC PATCH 08/12] commit-graph: convert to using the_hash_algo
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Aug 30, 2018, 02:30 UTC
- Message-ID
- <20180830023050.GJ432229@genre.crustytoothpaste.net>
- In-Reply-To
- <ef3f5ff2-a774-9e9b-d73a-b21630bede53@gmail.com>
On Wed, Aug 29, 2018 at 08:41:36AM -0400, Derrick Stolee wrote:
Show 9 quoted lines
> On 8/28/2018 8:58 PM, brian m. carlson wrote: > > Instead of using hard-coded constants for object sizes, use > > the_hash_algo to look them up. In addition, use a function call to look > > up the object ID version and produce the correct value. > > The C code in this patch looks good to me. The only issue is that I predict > failure in the 'git commit-graph verify' tests in t5318-commit-graph.sh. > Squashing in this commit should help (assuming that test_oid works, it > doesn't at my current branch):
Yeah, this is a separate series not based on the other one. If I finally submit this after the other series lands, I'll squash that change in.
Thanks for the patch.
-- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204