git/t/helper
Patrick Steinhardt 5d215a7b3e config: drop `git_config_get_bool()` wrapper
In 036876a106 (config: hide functions using `the_repository` by
default, 2024-08-13) we have moved around a bunch of functions in the
config subsystem that depend on `the_repository`. Those function have
been converted into mere wrappers around their equivalent function that
takes in a repository as parameter, and the intent was that we'll
eventually remove those wrappers to make the dependency on the global
repository variable explicit at the callsite.

Follow through with that intent and remove `git_config_get_bool()`. All
callsites are adjusted so that they use
`repo_config_get_bool(the_repository, ...)` instead. While some
callsites might already have a repository available, this mechanical
conversion is the exact same as the current situation and thus cannot
cause any regression. Those sites should eventually be cleaned up in a
later patch series.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-07-23 08:15:20 -07:00
..
.gitignore
meson.build t/helper: add zlib test-tool 2025-05-16 09:43:11 -07:00
test-advise.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
test-bitmap.c pack-bitmap: add load corrupt bitmap test 2025-07-01 14:41:54 -07:00
test-bloom.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-bundle-uri.c
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 config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
test-crontab.c
test-csprng.c wrapper: allow generating insecure random bytes 2025-01-07 09:04:18 -08:00
test-date.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-delete-gpgsig.c
test-delta.c
test-dir-iterator.c refs/iterator: separate lifecycle from iteration 2025-03-12 11:31:18 -07:00
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
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
test-fake-ssh.c
test-find-pack.c object-store: rename files to "odb.{c,h}" 2025-07-01 14:46:34 -07:00
test-fsmonitor-client.c
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 global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-hash-speed.c global: adapt callers to use generic hash context helpers 2025-01-31 10:06:11 -08:00
test-hash.c global: adapt callers to use generic hash context helpers 2025-01-31 10:06:11 -08:00
test-hashmap.c
test-hexdump.c
test-json-writer.c
test-lazy-init-name-hash.c
test-match-trees.c
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-name-hash.c test-tool: add helper for name-hash values 2025-01-27 13:21:43 -08:00
test-online-cpus.c
test-pack-deltas.c test-tool: add pack-deltas helper 2025-04-28 15:37:25 -07:00
test-pack-mtimes.c object-store: rename files to "odb.{c,h}" 2025-07-01 14:46:34 -07:00
test-parse-options.c parse-options: add precision handling for OPTION_COUNTUP 2025-07-09 08:40:32 -07:00
test-parse-pathspec-file.c
test-partial-clone.c odb: rename `oid_object_info()` 2025-07-01 14:46:37 -07:00
test-path-utils.c Merge branch 'ps/test-wo-perl-prereq' 2025-04-16 13:54:20 -07:00
test-path-walk.c path-walk: add new 'edge_aggressive' option 2025-05-16 12:15:40 -07:00
test-pcre2-config.c
test-pkt-line.c
test-proc-receive.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -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 config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
test-read-graph.c object-store: rename files to "odb.{c,h}" 2025-07-01 14:46:34 -07:00
test-read-midx.c object-store: rename files to "odb.{c,h}" 2025-07-01 14:46:34 -07:00
test-ref-store.c odb: get rid of `the_repository` when handling alternates 2025-07-01 14:46:36 -07:00
test-reftable.c reftable/table: move printing logic into test helper 2025-04-07 14:53:13 -07:00
test-regex.c
test-repository.c
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 global: mark usage strings and string tables const 2025-04-21 21:01:19 -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
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: refactor tests depending on Perl transliteration operator 2025-04-07 14:47:38 -07: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 u-string-list: move "remove duplicates" test to "u-string-list.c" 2025-07-07 08:07:47 -07:00
test-submodule-config.c
test-submodule-nested-repo-config.c hash: stop depending on `the_repository` in `null_oid()` 2025-03-10 13:16:20 -07:00
test-submodule.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-subprocess.c
test-tool-utils.h
test-tool.c t/helper: add zlib test-tool 2025-05-16 09:43:11 -07:00
test-tool.h t/helper: add zlib test-tool 2025-05-16 09:43:11 -07: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 config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
test-wildmatch.c
test-windows-named-pipe.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-write-cache.c
test-xml-encode.c
test-zlib.c t/helper: add zlib test-tool 2025-05-16 09:43:11 -07:00