cache.h: remove unused "the_index" compat macros
commitc74e7b10b6ca34105efbdd7eaed955d1b60517ab
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 19 Nov 2022 13:07:28 +0000 (19 14:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Nov 2022 03:06:14 +0000 (21 12:06 +0900)
tree484de84840aa01ae9fbb740106539215b92a0bc9
parenta0789512c5a4ae7da935cd2e419f253cb3cb4ce7
cache.h: remove unused "the_index" compat macros

The "active_alloc" macro added in 228e94f9357 (Move index-related
variables into a structure., 2007-04-01) has not been used since
4aab5b46f44 (Make read-cache.c "the_index" free., 2007-04-01). Let's
remove it.

The rest of these are likewise unused, so let's not keep them
around. E.g. 12cd0bf9b02 (dir: stop using the index compatibility
macros, 2017-05-05) is the last use of "cache_dir_exists".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h