git/t/helper
Patrick Steinhardt 9da95bda74 hash: require hash algorithm in `oidread()` and `oidclr()`
Both `oidread()` and `oidclr()` use `the_repository` to derive the hash
function that shall be used. Require callers to pass in the hash
algorithm to get rid of this implicit dependency.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-06-14 10:26:32 -07:00
..
.gitignore
test-advise.c treewide: remove cache.h inclusion due to setup.h changes 2023-03-21 10:56:54 -07:00
test-bitmap.c setup.h: move declarations for setup.c functions from cache.h 2023-03-21 10:56:54 -07:00
test-bloom.c test-bloom: stop setting up Git directory twice 2023-11-07 08:51:40 +09:00
test-bundle-uri.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
test-cache-tree.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-chmtime.c t/helper: allow chmtime to print verbosely without modifying mtime 2023-04-14 10:27:52 -07:00
test-config.c config: pass kvi to die_bad_number() 2023-06-28 14:06:40 -07:00
test-crontab.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-csprng.c
test-date.c date: make DATE_MODE thread-safe 2024-04-05 15:21:14 -07:00
test-delete-gpgsig.c t1016-compatObjectFormat: add tests to verify the conversion between objects 2023-10-02 14:57:40 -07:00
test-delta.c treewide: remove unnecessary includes for wrapper.h 2023-07-05 11:41:59 -07:00
test-dir-iterator.c dir-iterator: drop unused `DIR_ITERATOR_FOLLOW_SYMLINKS` 2023-02-16 16:21:56 -08:00
test-drop-caches.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-dump-cache-tree.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-dump-fsmonitor.c cache.h: remove this no-longer-used header 2023-06-21 13:39:53 -07:00
test-dump-split-index.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-dump-untracked-cache.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-env-helper.c parse: separate out parsing functions from config.h 2023-09-29 15:14:57 -07:00
test-example-tap.c t0080: turn t-basic unit test into a helper 2024-05-06 14:06:34 -07:00
test-fake-ssh.c Merge branch 'ab/various-leak-fixes' 2022-12-14 15:55:46 +09:00
test-find-pack.c t/helper: add 'find-pack' test-tool 2023-10-02 14:54:29 -07:00
test-fsmonitor-client.c treewide: remove unnecessary includes for wrapper.h 2023-07-05 11:41:59 -07:00
test-genrandom.c
test-genzeros.c test-genzeros: avoid raw write(2) 2023-02-16 08:30:38 -08:00
test-getcwd.c
test-hash-speed.c cache.h: remove this no-longer-used header 2023-06-21 13:39:53 -07:00
test-hash.c treewide: remove unnecessary cache.h inclusion from several sources 2023-03-21 10:56:51 -07:00
test-hashmap.c t/helper/test-hashmap.c: avoid using `strtok()` 2023-04-24 16:01:28 -07:00
test-hexdump.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-json-writer.c t/helper/test-json-writer.c: avoid using `strtok()` 2023-04-24 16:01:28 -07:00
test-lazy-init-name-hash.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-match-trees.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
test-mergesort.c treewide: remove cache.h inclusion due to previous changes 2023-04-24 12:47:33 -07:00
test-mktemp.c
test-oid-array.c t/helper: mark unused callback void data parameters 2023-07-13 17:24:00 -07:00
test-oidmap.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
test-online-cpus.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-pack-mtimes.c object-store-ll.h: split this header out of object-store.h 2023-06-21 13:39:54 -07:00
test-parse-options.c parse-options: make CMDMODE errors more precise 2023-10-29 09:15:18 +09:00
test-parse-pathspec-file.c treewide: remove unnecessary inclusion of gettext.h 2023-03-21 10:56:51 -07:00
test-partial-clone.c object-store-ll.h: split this header out of object-store.h 2023-06-21 13:39:54 -07:00
test-path-utils.c Merge branch 'fixes/2.45.1/2.41' into fixes/2.45.1/2.42 2024-05-24 16:57:43 -07:00
test-pcre2-config.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-pkt-line.c Merge branch 'jx/sideband-chomp-newline-fix' into maint-2.43 2024-02-08 16:22:11 -08:00
test-proc-receive.c treewide: remove cache.h inclusion due to setup.h changes 2023-03-21 10:56:54 -07:00
test-progress.c treewide: remove unnecessary inclusion of gettext.h 2023-03-21 10:56:51 -07:00
test-reach.c refs: pass repo when peeling objects 2024-05-17 10:33:39 -07:00
test-read-cache.c repository: drop `initialize_the_repository()` 2024-04-18 12:30:43 -07:00
test-read-graph.c object-store-ll.h: split this header out of object-store.h 2023-06-21 13:39:54 -07:00
test-read-midx.c midx: implement `midx_preferred_pack()` 2023-12-14 14:38:08 -08:00
test-ref-store.c refs: allow to skip creation of reflog entries 2024-06-06 09:04:31 -07:00
test-reftable.c Merge branch 'cp/reftable-unit-test' 2024-06-12 13:37:14 -07:00
test-regex.c doc: switch links to https 2023-11-26 10:07:05 +09:00
test-repository.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:33 -08:00
test-revision-walking.c diff.h: remove unnecessary include of oidset.h 2023-06-21 13:39:53 -07:00
test-rot13-filter.c
test-run-command.c test-tool run-command testsuite: support unit tests 2024-05-06 14:06:34 -07:00
test-scrap-cache-tree.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-serve-v2.c treewide: remove cache.h inclusion due to setup.h changes 2023-03-21 10:56:54 -07:00
test-sha1.c cache.h: remove this no-longer-used header 2023-06-21 13:39:53 -07:00
test-sha1.sh
test-sha256.c cache.h: remove this no-longer-used header 2023-06-21 13:39:53 -07:00
test-sigchain.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-simple-ipc.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
test-string-list.c Merge branch 'en/header-split-cache-h-part-2' 2023-05-09 16:45:46 -07:00
test-submodule-config.c hash: require hash algorithm in `oidread()` and `oidclr()` 2024-06-14 10:26:32 -07:00
test-submodule-nested-repo-config.c hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
test-submodule.c Merge branch 'vd/fsck-submodule-url-test' 2024-01-26 08:54:47 -08:00
test-subprocess.c treewide: remove cache.h inclusion due to setup.h changes 2023-03-21 10:56:54 -07:00
test-tool-utils.h
test-tool.c Merge branch 'gt/unit-test-oidtree' into ps/use-the-repository 2024-06-13 09:39:46 -07:00
test-tool.h Merge branch 'gt/unit-test-oidtree' into ps/use-the-repository 2024-06-13 09:39:46 -07:00
test-trace2.c Merge branch 'jh/trace2-redact-auth' into maint-2.43 2024-02-08 16:22:01 -08:00
test-truncate.c t: add a test helper to truncate files 2023-10-13 13:33:35 -07:00
test-urlmatch-normalization.c
test-userdiff.c config: add ctx arg to config_fn_t 2023-06-28 14:06:39 -07:00
test-wildmatch.c git-compat-util.h: remove unneccessary include of wildmatch.h 2023-06-21 13:39:54 -07:00
test-windows-named-pipe.c
test-write-cache.c t/helper: stop using `the_index` 2024-04-18 12:30:41 -07:00
test-xml-encode.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00