aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5324-split-commit-graph.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-19 16:14:52 -0700
committerJunio C Hamano <gitster@pobox.com>2020-08-19 16:14:53 -0700
commit6f8a2138b96c8f33ebbe2055a9444ada40a8e1c8 (patch)
tree8ed6c5420da5f4be6a398ae8da7d30767c2258be /t/t5324-split-commit-graph.sh
parentMerge branch 'ma/sha-256-docs' (diff)
parentmulti-pack-index: use hash version byte (diff)
downloadgit-6f8a2138b96c8f33ebbe2055a9444ada40a8e1c8.tar.gz
git-6f8a2138b96c8f33ebbe2055a9444ada40a8e1c8.zip
Merge branch 'ds/sha256-leftover-bits'
midx and commit-graph files now use the byte defined in their file format specification for identifying the hash function used for object names. * ds/sha256-leftover-bits: multi-pack-index: use hash version byte commit-graph: use the "hash version" byte t/README: document GIT_TEST_DEFAULT_HASH
Diffstat (limited to 't/t5324-split-commit-graph.sh')
-rwxr-xr-xt/t5324-split-commit-graph.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t5324-split-commit-graph.sh b/t/t5324-split-commit-graph.sh
index ea28d522b8..18216463c7 100755
--- a/t/t5324-split-commit-graph.sh
+++ b/t/t5324-split-commit-graph.sh
@@ -18,6 +18,9 @@ test_expect_success 'setup repo' '
base sha1:1376
base sha256:1496
+
+ oid_version sha1:1
+ oid_version sha256:2
EOM
'
@@ -28,7 +31,7 @@ graph_read_expect() {
NUM_BASE=$2
fi
cat >expect <<- EOF
- header: 43475048 1 1 3 $NUM_BASE
+ header: 43475048 1 $(test_oid oid_version) 3 $NUM_BASE
num_commits: $1
chunks: oid_fanout oid_lookup commit_metadata
EOF