Re: [PATCH v5 0/7] builtin/repo: add object size info to structure output
On Wed, Dec 17, 2025 at 11:53:57AM -0600, Justin Tobler wrote:
Show 18 quoted lines
> Greetings,
>
> This patch series extends the recently introduced "structure" subcommand
> for git-repo(1) to collect object size information. More specifically,
> it shows total inflated and disk sizes of objects by object type. The
> aim to provide additional insight that may be useful to users regarding
> the structure of a repository.
>
> In addition to this change, this series also updates the table output
> format to downscale larger output values along with the appropriate unit
> prefix. This is done to make table output more human friendly. The
> keyvalue and nul output formats are left the same since they are
> intended more for machine parsing.
>
> Changes in V5:
> - Small updates to some comments and log messages to improve
> correctness.
> - Adjusted spacing in builtin/repo.c:count_objects().
I'm happy with this version, thanks!
Patrick