]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5324-split-commit-graph.sh
commit-graph: use the "hash version" byte
[thirdparty/git.git] / t / t5324-split-commit-graph.sh
index ea28d522b8375678c9a54d6c4b6717ef8f11ab6f..18216463c7db99e965833788ccd990f1e8515397 100755 (executable)
@@ -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