aboutsummaryrefslogtreecommitdiff
path: root/Documentation
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 /Documentation
parentbbb2b9334856ae0a2b18e65e5924a42c31a83c6b (diff)
downloadgit-eb5cf58ffcd4bb117c870d448b0df0193df52c82.tar.xz
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 'Documentation')
-rw-r--r--Documentation/git-repo.adoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-repo.adoc b/Documentation/git-repo.adoc
index 8193298dd5..ae62d2415f 100644
--- a/Documentation/git-repo.adoc
+++ b/Documentation/git-repo.adoc
@@ -49,6 +49,7 @@ supported:
following kinds of information are reported:
+
* Reference counts categorized by type
+* Reachable object counts categorized by type
+
The table output format may change and is not intended for machine parsing.