diff options
| author | Justin Tobler <jltobler@gmail.com> | 2025-12-17 11:54:02 -0600 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-12-18 09:02:31 +0900 |
| commit | 4d279ae36b1d0f68c8a7ba9b986ff9690ddc1af9 (patch) | |
| tree | e8365afdff4ad0ca9820c53df26b1723809770da /strbuf.h | |
| parent | 3e114496e48e665d2bb9e0c0917e6051d60392ea (diff) | |
| download | git-4d279ae36b1d0f68c8a7ba9b986ff9690ddc1af9.tar.xz | |
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>
Diffstat (limited to 'strbuf.h')
| -rw-r--r-- | strbuf.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -372,6 +372,11 @@ enum humanise_flags { * Use rate based units for humanised values. */ HUMANISE_RATE = (1 << 0), + /* + * Use compact "B" unit symbol instead of "byte/bytes" for humanised + * values. + */ + HUMANISE_COMPACT = (1 << 1), }; /** |
