aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-07-01 14:22:22 +0200
committerJunio C Hamano <gitster@pobox.com>2025-07-01 14:46:36 -0700
commit7eafd4472d7c273e10a408da6662ca9d4b9800fd (patch)
treebbfa21372fcbef1e66f7cb6a5c08f2c83b7ecf95 /commit-graph.c
parentodb: get rid of `the_repository` in `for_each()` functions (diff)
downloadgit-7eafd4472d7c273e10a408da6662ca9d4b9800fd.tar.gz
git-7eafd4472d7c273e10a408da6662ca9d4b9800fd.zip
odb: get rid of `the_repository` when handling the primary source
The functions `set_temporary_primary_odb()` and `restore_primary_odb()` are responsible for managing a temporary primary source for the database. Both of these functions implicitly rely on `the_repository`. Refactor them to instead take an explicit object database parameter as argument and adjust callers. Rename the functions accordingly. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions