Skip to content

Commit 8f56511

Browse files
avargitster
authored andcommitted
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 f8adbec (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c74e7b1 commit 8f56511

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

builtin/grep.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*
44
* Copyright (c) 2006 Junio C Hamano
55
*/
6-
#define USE_THE_INDEX_COMPATIBILITY_MACROS
76
#include "cache.h"
87
#include "repository.h"
98
#include "config.h"

builtin/log.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* (C) Copyright 2006 Linus Torvalds
55
* 2006 Junio Hamano
66
*/
7-
#define USE_THE_INDEX_COMPATIBILITY_MACROS
87
#include "cache.h"
98
#include "config.h"
109
#include "refs.h"

0 commit comments

Comments
 (0)