git/stats: Discern different packfile types
We're soon going to introduce cruft packfiles. In order to not account any such packfiles as normal reachable objects we need to discern packs that exist in the repository by their type.
Introduce the logic to report cruft and kept packfiles.
Part of #4351 (closed).
Edited by Patrick Steinhardt