]> git.99rst.org Git - git.git/commit
builtin/repo: update stats for each object
authorJustin Tobler <redacted>
Mon, 2 Mar 2026 21:45:21 +0000 (15:45 -0600)
committerJunio C Hamano <redacted>
Mon, 2 Mar 2026 21:54:51 +0000 (13:54 -0800)
commit31c771ab443352741ecc3710d54a91890a68ee79
tree1006b3d0ac0088218113dc06cd47a5ef116839ed
parent7c02d39fc2ed2702223c7674f73150d9a7e61ba4
builtin/repo: update stats for each object

When walking reachable objects in the repository, `count_objects()`
processes a set of objects and updates the `struct object_stats`. In
preparation for more granular statistics being collected, update the
`struct object_stats` for each individual object instead.

Signed-off-by: Justin Tobler <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/repo.c
git clone https://git.99rst.org/PROJECT