diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-01-31 10:05:46 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-01-31 10:05:46 -0800 |
| commit | 0cbcba54550b1ea108e977c24b835e07b96b1c0e (patch) | |
| tree | 6cb525c7fdb38ee631d741c2f32bcaf2fffa5f07 /t/helper/test-tool.c | |
| parent | The fifth batch (diff) | |
| parent | hash.h: drop unsafe_ function variants (diff) | |
| download | git-0cbcba54550b1ea108e977c24b835e07b96b1c0e.tar.gz git-0cbcba54550b1ea108e977c24b835e07b96b1c0e.zip | |
Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanup
* tb/unsafe-hash-cleanup:
hash.h: drop unsafe_ function variants
csum-file: introduce hashfile_checkpoint_init()
t/helper/test-hash.c: use unsafe_hash_algo()
csum-file.c: use unsafe_hash_algo()
hash.h: introduce `unsafe_hash_algo()`
csum-file.c: extract algop from hashfile_checksum_valid()
csum-file: store the hash algorithm as a struct field
t/helper/test-tool: implement sha1-unsafe helper
Diffstat (limited to 't/helper/test-tool.c')
| -rw-r--r-- | t/helper/test-tool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c index 69a9ffa1eb..e8bc94862e 100644 --- a/t/helper/test-tool.c +++ b/t/helper/test-tool.c @@ -71,6 +71,7 @@ static struct test_cmd cmds[] = { { "serve-v2", cmd__serve_v2 }, { "sha1", cmd__sha1 }, { "sha1-is-sha1dc", cmd__sha1_is_sha1dc }, + { "sha1-unsafe", cmd__sha1_unsafe }, { "sha256", cmd__sha256 }, { "sigchain", cmd__sigchain }, { "simple-ipc", cmd__simple_ipc }, |
