Skip to content

Commit

Permalink
t5318: use test_oid for HASH_LEN
Browse files Browse the repository at this point in the history
Signed-off-by: Derrick Stolee <[email protected]>
Signed-off-by: brian m. carlson <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
derrickstolee authored and gitster committed Sep 17, 2018
1 parent 43c94bb commit ae0c89d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/t5318-commit-graph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ test_expect_success 'setup full repo' '
cd "$TRASH_DIRECTORY/full" &&
git init &&
git config core.commitGraph true &&
objdir=".git/objects"
objdir=".git/objects" &&
test_oid_init
'

test_expect_success 'verify graph with no graph file' '
Expand Down Expand Up @@ -273,7 +274,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
Expand Down

0 comments on commit ae0c89d

Please sign in to comment.