git/t/helper
Patrick Steinhardt 7346e340f1 hash: stop typedeffing the hash context
We generally avoid using `typedef` in the Git codebase. One exception
though is the `git_hash_ctx`, likely because it used to be a union
rather than a struct until the preceding commit refactored it. But now
that it is a normal `struct` there isn't really a need for a typedef
anymore.

Drop the typedef and adapt all callers accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-01-31 10:06:10 -08:00
..
.gitignore
meson.build Merge branch 'ds/path-walk-1' 2025-01-29 14:05:09 -08:00
test-advise.c global: prepare for hiding away repo-less config functions 2024-08-13 10:01:05 -07:00
test-bitmap.c Merge branch 'ps/use-the-repository' 2024-07-02 09:59:00 -07:00
test-bloom.c global: trivial conversions to fix -Wsign-compare warnings 2024-12-06 20:20:04 +09:00
test-bundle-uri.c remote: drop checks for zero-url case 2024-06-14 09:34:39 -07:00
test-cache-tree.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-chmtime.c
test-config.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-crontab.c
test-csprng.c wrapper: allow generating insecure random bytes 2025-01-07 09:04:18 -08:00
test-date.c
test-delete-gpgsig.c
test-delta.c
test-dir-iterator.c
test-drop-caches.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-dump-cache-tree.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-dump-fsmonitor.c global: trivial conversions to fix -Wsign-compare warnings 2024-12-06 20:20:04 +09:00
test-dump-split-index.c global: trivial conversions to fix -Wsign-compare warnings 2024-12-06 20:20:04 +09:00
test-dump-untracked-cache.c global: trivial conversions to fix -Wsign-compare warnings 2024-12-06 20:20:04 +09:00
test-env-helper.c
test-example-tap.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
test-fake-ssh.c
test-find-pack.c packfile: use object_id in find_pack_entry_one() 2024-10-25 17:35:46 -04:00
test-fsmonitor-client.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-genrandom.c t/helper: don't depend on implicit wraparound 2024-12-06 20:20:05 +09:00
test-genzeros.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-getcwd.c
test-hash-speed.c hash: stop typedeffing the hash context 2025-01-31 10:06:10 -08:00
test-hash.c hash: stop typedeffing the hash context 2025-01-31 10:06:10 -08:00
test-hashmap.c t/helper: mark more unused argv/argc arguments 2024-08-17 09:46:11 -07:00
test-hexdump.c
test-json-writer.c set errno=0 before strtoX calls 2024-08-05 10:59:20 -07:00
test-lazy-init-name-hash.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-match-trees.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-mergesort.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-mktemp.c
test-online-cpus.c
test-pack-mtimes.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-parse-options.c global: trivial conversions to fix -Wsign-compare warnings 2024-12-06 20:20:04 +09:00
test-parse-pathspec-file.c
test-partial-clone.c t/helper: fix leaking repository in partial-clone helper 2024-09-30 11:23:05 -07:00
test-path-utils.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-path-walk.c path-walk: mark trees and blobs as UNINTERESTING 2024-12-20 08:37:05 -08:00
test-pcre2-config.c
test-pkt-line.c
test-proc-receive.c t/helper: fix leaks in proc-receive helper 2024-09-30 11:23:08 -07:00
test-progress.c progress: stop using the_repository 2024-12-18 10:44:30 -08:00
test-reach.c commit-reach: use size_t to track indices when computing merge bases 2024-12-27 08:12:40 -08:00
test-read-cache.c t/helper: stop re-initialization of the_repository 2024-11-04 22:37:56 -08:00
test-read-graph.c t/helper: fix leaking commit graph in "read-graph" subcommand 2024-11-21 08:23:45 +09:00
test-read-midx.c midx: pass repository to load_multi_pack_index 2024-12-04 10:32:20 +09:00
test-ref-store.c global: trivial conversions to fix -Wsign-compare warnings 2024-12-06 20:20:04 +09:00
test-reftable.c reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
test-regex.c global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
test-repository.c t/test-repository: fix leaking repository 2024-08-01 08:47:37 -07:00
test-revision-walking.c diff.h: fix index used to loop through unsigned integer 2024-12-06 20:20:03 +09:00
test-rot13-filter.c t/helper: fix a typo 2024-10-10 13:31:13 -07:00
test-run-command.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-scrap-cache-tree.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-serve-v2.c serve: stop using the_repository 2024-12-18 10:44:30 -08:00
test-sha1.c t/helper/test-tool: implement sha1-unsafe helper 2025-01-23 10:28:16 -08:00
test-sha1.sh t/helper/test-tool: implement sha1-unsafe helper 2025-01-23 10:28:16 -08:00
test-sha256.c t/helper/test-tool: implement sha1-unsafe helper 2025-01-23 10:28:16 -08:00
test-sigchain.c
test-simple-ipc.c builtins: send usage_with_options() help text to standard output 2025-01-17 13:30:03 -08:00
test-string-list.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-submodule-config.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-submodule-nested-repo-config.c t/helper: fix leaking subrepo in nested submodule config helper 2024-09-27 08:25:35 -07:00
test-submodule.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-subprocess.c
test-tool-utils.h
test-tool.c Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanup 2025-01-31 10:05:46 -08:00
test-tool.h Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanup 2025-01-31 10:05:46 -08:00
test-trace2.c global: mark code units that generate warnings with -Wsign-compare 2024-12-06 20:20:02 +09:00
test-truncate.c
test-userdiff.c global: prepare for hiding away repo-less config functions 2024-08-13 10:01:05 -07:00
test-wildmatch.c
test-windows-named-pipe.c
test-write-cache.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
test-xml-encode.c