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

Update the table output format for the git-repo(1) structure command to
begin printing the total inflated object size info by object type. To be
more human-friendly, larger values are scaled down and displayed with
the appropriate unit prefix. Output for the keyvalue and nul formats
remains unchanged.

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