aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-07-17 06:56:31 +0200
committerJunio C Hamano <gitster@pobox.com>2025-07-16 22:16:14 -0700
commit1031f57695ed02da06d1af5ac945bb243262fa09 (patch)
tree798039bb7fdf05e18e458bc0e27d144dcc212831 /commit.c
parentobject-file: inline `check_and_freshen()` functions (diff)
downloadgit-1031f57695ed02da06d1af5ac945bb243262fa09.tar.gz
git-1031f57695ed02da06d1af5ac945bb243262fa09.zip
object-file: get rid of `the_repository` when freshening objects
We implicitly depend on `the_repository` when freshening either loose or packed objects. Refactor these functions to instead accept an object database as input so that we can get rid of the global dependency. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions