"Elijah Newren via GitGitGadget" [off-list ref] writes:
From: Elijah Newren <redacted>
This allows us to replace includes of cache.h with includes
of the much smaller alloc.h in many places.
Yes! This is a very logical thing to do. Allocation and
reallocation, especially in the modern world where "memory is tight,
let's unmap some packfiles" no longer happens, does not have to be
very "git" specific operation and should not have to depend on the
rest of "git". Having to include "cache.h" is one trait I consider
anything is part of the implementation of "git" that has to be
intimate with its internal.