summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-11-19 13:07:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-11-21 03:06:14 (GMT)
commit8f565119451811188d6f5e57c3f069a65ec550e8 (patch)
tree03466db6be27a711c4d8f08443354c37f24ad1da /builtin/log.c
parentc74e7b10b6ca34105efbdd7eaed955d1b60517ab (diff)
downloadgit-8f565119451811188d6f5e57c3f069a65ec550e8.zip
git-8f565119451811188d6f5e57c3f069a65ec550e8.tar.gz
git-8f565119451811188d6f5e57c3f069a65ec550e8.tar.bz2
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>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 5eafcf2..89447a5 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -4,7 +4,6 @@
* (C) Copyright 2006 Linus Torvalds
* 2006 Junio Hamano
*/
-#define USE_THE_INDEX_COMPATIBILITY_MACROS
#include "cache.h"
#include "config.h"
#include "refs.h"