diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-08-19 16:14:52 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-08-19 16:14:53 -0700 |
| commit | 6f8a2138b96c8f33ebbe2055a9444ada40a8e1c8 (patch) | |
| tree | 8ed6c5420da5f4be6a398ae8da7d30767c2258be /t/t5324-split-commit-graph.sh | |
| parent | Merge branch 'ma/sha-256-docs' (diff) | |
| parent | multi-pack-index: use hash version byte (diff) | |
| download | git-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-x | t/t5324-split-commit-graph.sh | 5 |
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 |
