git/builtin
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
..
add.c Merge branch 'ds/sparse-apply-add-p' 2025-05-27 13:59:09 -07:00
am.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
annotate.c
…
apply.c builtin: use default hash when outside a repository 2025-07-01 14:58:24 -07:00
archive.c
…
backfill.c odb: rename `has_object()` 2025-07-01 14:46:38 -07:00
bisect.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
blame.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
branch.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
bugreport.c object-file: move `safe_create_leading_directories()` into "path.c" 2025-04-15 08:24:35 -07:00
bundle.c Merge branch 'jt/bundle-fsck' 2024-12-13 07:33:36 -08:00
cat-file.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
check-attr.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
check-ignore.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
check-mailmap.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
check-ref-format.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
checkout--worker.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
checkout-index.c builtin/checkout-index: stop using `the_repository` 2025-03-07 16:52:02 -08:00
checkout.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
clean.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
clone.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
column.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
commit-graph.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
commit-tree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
commit.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
config.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
count-objects.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
credential-cache--daemon.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
credential-cache.c
…
credential-store.c config: drop `git_config_get_int()` wrapper 2025-07-23 08:15:20 -07:00
credential.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
describe.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
diagnose.c object-file: move `safe_create_leading_directories()` into "path.c" 2025-04-15 08:24:35 -07:00
diff-files.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
diff-index.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
diff-pairs.c builtin/diff-pairs: allow explicit diff queue flush 2025-03-03 08:17:47 -08:00
diff-tree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
diff.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
difftool.c odb: rename `repo_read_object_file()` 2025-07-01 14:46:38 -07:00
fast-export.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
fast-import.c config: drop `git_config_get_ulong()` wrapper 2025-07-23 08:15:20 -07:00
fetch-pack.c builtin/fetch-pack: cleanup before return error 2025-06-04 08:52:25 -07:00
fetch.c config: drop `git_config_get_int()` wrapper 2025-07-23 08:15:20 -07:00
fmt-merge-msg.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
for-each-ref.c builtin/for-each-ref: stop using `the_repository` 2025-03-07 16:52:02 -08:00
for-each-repo.c global: trivial conversions to fix `-Wsign-compare` warnings 2024-12-06 20:20:04 +09:00
fsck.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
fsmonitor--daemon.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
gc.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
get-tar-commit-id.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
grep.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
hash-object.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
help.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
hook.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
index-pack.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
init-db.c Merge branch 'ps/parse-options-integers' 2025-04-24 17:25:34 -07:00
interpret-trailers.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
log.c config: drop `git_config_get_string()` wrapper 2025-07-23 08:15:19 -07:00
ls-files.c odb: rename `oid_object_info()` 2025-07-01 14:46:37 -07:00
ls-remote.c builtin: use default hash when outside a repository 2025-07-01 14:58:24 -07:00
ls-tree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
mailinfo.c mailinfo: stop using `the_repository` 2024-12-18 10:44:31 -08:00
mailsplit.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
merge-base.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
merge-file.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
merge-index.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
merge-ours.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
merge-recursive.c builtin/merge-recursive: switch to using merge_ort_generic() 2025-04-08 13:59:11 -07:00
merge-tree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
merge.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
mktag.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
mktree.c odb: rename `oid_object_info()` 2025-07-01 14:46:37 -07:00
multi-pack-index.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
mv.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
name-rev.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
notes.c config: drop `git_config_get_string()` wrapper 2025-07-23 08:15:19 -07:00
pack-objects.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
pack-redundant.c Merge branch 'ps/object-store' 2025-07-15 15:18:18 -07:00
pack-refs.c builtin/pack-refs: stop using `the_repository` 2025-03-07 16:52:01 -08:00
patch-id.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
prune-packed.c
…
prune.c Merge branch 'ps/object-store' 2025-07-15 15:18:18 -07:00
pull.c config: drop `git_config_get_value()` wrapper 2025-07-23 08:15:18 -07:00
push.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
range-diff.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
read-tree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
rebase.c config: drop `git_config_get_bool()` wrapper 2025-07-23 08:15:20 -07:00
receive-pack.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
reflog.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
refs.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
remote-ext.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
remote-fd.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
remote.c config: drop `git_config_get_string()` wrapper 2025-07-23 08:15:19 -07:00
repack.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
replace.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
replay.c repo_logmsg_reencode: fix memory leak when use repo_logmsg_reencode () 2025-06-05 08:35:22 -07:00
rerere.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
reset.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
rev-list.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
rev-parse.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
revert.c Merge branch 'ps/parse-options-integers' 2025-04-24 17:25:34 -07:00
rm.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
send-pack.c Merge branch 'jk/fix-leak-send-pack' 2025-07-07 14:12:57 -07:00
shortlog.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
show-branch.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
show-index.c builtin: use default hash when outside a repository 2025-07-01 14:58:24 -07:00
show-ref.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
sparse-checkout.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
stash.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
stripspace.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
submodule--helper.c config: drop `git_config_get_string()` wrapper 2025-07-23 08:15:19 -07:00
symbolic-ref.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
tag.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
unpack-file.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
unpack-objects.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
update-index.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
update-ref.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
update-server-info.c builtin/update-server-info: remove unnecessary if statement 2025-04-08 14:47:37 -07:00
upload-archive.c builtin: send usage() help text to standard output 2025-01-17 13:30:03 -08:00
upload-pack.c serve: stop using `the_repository` 2024-12-18 10:44:30 -08:00
var.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
verify-commit.c builtin/verify-commit: stop using `the_repository` 2025-03-07 16:52:01 -08:00
verify-pack.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
verify-tag.c builtin/verify-tag: stop using `the_repository` 2025-03-07 16:52:01 -08:00
worktree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00
write-tree.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00