builtin/{grep,log}.: don't define "USE_THE_INDEX_COMPATIBILITY_MACROS"

Adding "USE_THE_INDEX_COMPATIBILITY_MACROS" to these two appears to have been unnecessary from the start, as going back and compiling f8adbec9fea (cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch, 2019-01-24) without that addition works. Let's not have these ask for the compatibility macros from cache.h that they don't need. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Nov 19, 2022 at 14:07 UTC 8f565119451811188d6f5e57c3f069a65ec550e8
2 files changed -2
builtin/grep.c
-1
@@ -3,7 +3,6 @@
3 *
4 * Copyright (c) 2006 Junio C Hamano
5 */
6 -#define USE_THE_INDEX_COMPATIBILITY_MACROS
6 #include "cache.h"
7 #include "repository.h"
8 #include "config.h"
builtin/log.c
-1
@@ -4,7 +4,6 @@
4 * (C) Copyright 2006 Linus Torvalds
5 * 2006 Junio Hamano
6 */
7 -#define USE_THE_INDEX_COMPATIBILITY_MACROS
7 #include "cache.h"
8 #include "config.h"
9 #include "refs.h"