git/refs
Patrick Steinhardt 3fda14d86d config: drop `git_config_get_int()` 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_int()`. All
callsites are adjusted so that they use
`repo_config_get_int(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
..
debug.c Merge branch 'ps/object-wo-the-repository' 2025-04-15 13:50:15 -07:00
files-backend.c Merge branch 'ps/refs-files-remove-empty-parent' 2025-07-16 09:42:27 -07:00
iterator.c refs/iterator: implement seeking for merged iterators 2025-03-12 11:31:19 -07:00
packed-backend.c config: drop `git_config_get_int()` wrapper 2025-07-23 08:15:20 -07:00
packed-backend.h refs/files: use heuristic to decide whether to repack with `--auto` 2024-09-04 08:03:24 -07:00
ref-cache.c refs/iterator: implement seeking for ref-cache iterators 2025-03-12 11:31:20 -07:00
ref-cache.h refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
refs-internal.h refs: support rejection in batch updates during F/D checks 2025-04-08 07:57:21 -07:00
reftable-backend.c config: drop `git_config()` wrapper 2025-07-23 08:15:18 -07:00