summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-04-02 13:13:45 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-07 14:43:52 -0700
commitd5ec7027bcbf755b95fba84ad1de50ca6d3c3daa (patch)
tree1bd829f3d7d6764c44fb51876e4c1bc0e1204614 /builtin/commit.c
parentc9b94a7785b4de4e3e15d0e5b65c97337c206b81 (diff)
builtin/cat-file: deduplicate logic to iterate over all objects
Pull out a common function that allows us to iterate over all objects in a repository. Right now the logic is trivial and would only require two function calls, making this refactoring a bit pointless. But in the next commit we will iterate on this logic to make use of bitmaps, so this is about to become a bit more complex. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions