Re: [RFC PATCH 08/12] commit-graph: convert to using the_hash_algo
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Sep 3, 2018, 19:11 UTC
- Message-ID
- <20180903191126.GN432229@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 13 quoted lines
> diff --git a/t/t5318-commit-graph.sh b/t/t5318-commit-graph.sh > index 6aee861f78..676c1a9ae0 100755 > --- a/t/t5318-commit-graph.sh > +++ b/t/t5318-commit-graph.sh > @@ -333,7 +333,7 @@ test_expect_success 'git commit-graph verify' ' > > NUM_COMMITS=9 > NUM_OCTOPUS_EDGES=2 > -HASH_LEN=20 > +HASH_LEN="$(test_oid rawsz)" > GRAPH_BYTE_VERSION=4 > GRAPH_BYTE_HASH=5 > GRAPH_BYTE_CHUNK_COUNT=6
I dropped this at the end of my hash-independent fixes series and I slipped in a use of test_oid_init, which is now required. Thanks for the patch.
-- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204