]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repo: group per-type object values into struct
authorJustin Tobler <jltobler@gmail.com>
Wed, 17 Dec 2025 17:53:58 +0000 (11:53 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Dec 2025 00:02:31 +0000 (09:02 +0900)
commit9faaf254ba061e9fc7065f4c940c9dfcc51e6bbe
treec67fd7a28af0edc256e184b90468ebe83e821a41
parente85ae279b0d58edc2f4c3fd5ac391b51e1223985
builtin/repo: group per-type object values into struct

The `object_stats` structure stores object counts by type. In a
subsequent commit, additional per-type object measurements will also be
stored. Group per-type object values into a new struct to allow better
reuse.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repo.c