summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2025-10-21 13:25:59 -0500
committerJunio C Hamano <gitster@pobox.com>2025-10-21 14:40:38 -0700
commiteb5cf58ffcd4bb117c870d448b0df0193df52c82 (patch)
treeec796697f7aac4082004cf53000cdaa500aeca36 /cache-tree.c
parentbbb2b9334856ae0a2b18e65e5924a42c31a83c6b (diff)
builtin/repo: add object counts in structure output
The amount of objects in a repository can provide insight regarding its shape. To surface this information, use the path-walk API to count the number of reachable objects in the repository by object type. All regular references are used to determine the reachable set of objects. The object counts are appended to the same table containing the reference information. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions