summaryrefslogtreecommitdiff
path: root/t/unit-tests/t-oid-array.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-13 11:14:15 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-13 10:01:04 -0700
commitc2ba4e3b5c8c1280bd3d3623b27e9ed66c788f09 (patch)
tree13aca524e30ca768508f66fbbfbfb978339e9ebe /t/unit-tests/t-oid-array.c
parent76fc9906f2121dd4abd42a4c6c2d864c40736b3a (diff)
config: don't have setters depend on `the_repository`
Some of the setters that accept a `struct repository` still implicitly rely on `the_repository` via `git_config_set_multivar_in_file()`. While this function would typically use the caller-provided path, it knows to fall back to using the configuration path indicated by `the_repository`. Adapt those functions to instead use the caller-provided repository. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-oid-array.c')
0 files changed, 0 insertions, 0 deletions