summaryrefslogtreecommitdiff
path: root/builtin/pack-refs.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2021-10-08 14:08:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-08 15:06:06 -0700
commit13a2f620b27c0fa29de026de5d74a2434c565ece (patch)
tree1e35f6c3af73eae9296ebec5d671ab2a8eed8f3c /builtin/pack-refs.c
parentobject-file: only register submodule ODB if needed (diff)
downloadtgif-13a2f620b27c0fa29de026de5d74a2434c565ece.tar.xz
submodule: pass repo to check_has_commit()
Pass the repo explicitly when calling check_has_commit() to avoid relying on add_submodule_odb(). With this commit and the parent commit, the last remaining tests no longer rely on add_submodule_odb(), so mark these tests accordingly. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-refs.c')
0 files changed, 0 insertions, 0 deletions