summaryrefslogtreecommitdiffstats
path: root/upload-pack.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-17 10:18:59 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-17 19:33:39 +0200
commit19c76e8235747a61a703fe3bf7a5e40caf6fa3fa (patch)
tree846d0436f27f1c9e8c228bce9a8b323293558a7a /upload-pack.c
parentrefs: pass ref store when detecting dangling symrefs (diff)
downloadgit-19c76e8235747a61a703fe3bf7a5e40caf6fa3fa.tar.xz
git-19c76e8235747a61a703fe3bf7a5e40caf6fa3fa.zip
refs: move object peeling into "object.c"
Peeling an object has nothing to do with refs, but we still have the code in "refs.c". Move it over into "object.c", which is a more natural place to put it. Ideally, we'd also move `peel_iterated_oid()` over into "object.c". But this function is tied to the refs interfaces because it uses a global ref iterator variable to optimize peeling when the iterator already has the peeled object ID readily available. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions