git/refs
Patrick Steinhardt af57f7361d refs/files: drop `USE_THE_REPOSITORY_VARIABLE`
We have a bunch of users of `the_repository` in the "files" backend, all
of which are trivial to convert to instead use the backend's own repo.
Do so.

There is one more dependency on global state though via `ignore_case`,
and thus we can't trivially remove `USE_THE_REPOSITORY_VARIABLE`. But
this is the only use of global state, and we want to ensure that we
don't unwittingly reintroduce a dependency on `the_repository` going
forward.

Add an extern declaration for `ignore_case` so that it becomes
accessible even without `USE_THE_REPOSITORY_VARIABLE` and drop the
define itself.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-07-16 07:40:21 -07:00
..
debug.c Merge branch 'gf/maintenance-is-needed-fix' 2025-12-30 12:58:20 +09:00
files-backend.c refs/files: drop `USE_THE_REPOSITORY_VARIABLE` 2026-07-16 07:40:21 -07:00
iterator.c refs: rename `each_ref_fn` 2026-02-23 13:21:18 -08:00
packed-backend.c refs/packed: de-globalize handling of "core.packedRefsTimeout" 2026-07-16 07:40:21 -07:00
packed-backend.h refs: introduce `ref_store_init_options` 2026-05-05 16:34:07 +09:00
ref-cache.c refs: drop infrastructure to peel via iterators 2025-11-04 07:32:25 -08:00
ref-cache.h ref-cache: remove unused function 'find_ref_entry()' 2025-07-15 11:54:19 -07:00
refs-internal.h refs: move parsing of "core.logAllRefUpdates" back into ref stores 2026-06-26 08:27:19 -07:00
reftable-backend.c Merge branch 'ps/refs-onbranch-fixes' 2026-07-06 15:50:24 -07:00