]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repo: add inflated object info to keyvalue structure output
authorJustin Tobler <jltobler@gmail.com>
Wed, 17 Dec 2025 17:54:01 +0000 (11:54 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Dec 2025 00:02:31 +0000 (09:02 +0900)
commit3e114496e48e665d2bb9e0c0917e6051d60392ea
treee006f625228e9ab4fb4ad08a3036bee54f4a5877
parent54731320cc3db337f9a3e3920f707e9de3596c60
builtin/repo: add inflated object info to keyvalue structure output

The structure subcommand for git-repo(1) outputs basic count information
for objects and references. Extend this output to also provide
information regarding total size of inflated objects by object type.

For now, object size by object type info is only added to the keyvalue
and nul output formats. In a subsequent commit, this info is also added
to the table format.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-repo.adoc
builtin/repo.c
t/t1901-repo-structure.sh