summaryrefslogtreecommitdiffstats
path: root/convert.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-24 09:29:12 +0100
committerJunio C Hamano <gitster@pobox.com>2019-01-24 20:55:06 +0100
commitf8adbec9feaa7a1ab9814db1115826e87033712e (patch)
tree5049172d68705c068c5cc0ea40a3f6afcf443fa5 /convert.c
parentread-cache.c: remove the_* from index_has_changes() (diff)
downloadgit-f8adbec9feaa7a1ab9814db1115826e87033712e.tar.xz
git-f8adbec9feaa7a1ab9814db1115826e87033712e.zip
cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
By default, index compat macros are off from now on, because they could hide the_index dependency. Only those in builtin can use it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.c')
-rw-r--r--convert.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/convert.c b/convert.c
index e0848226d2..df8c6a0bf8 100644
--- a/convert.c
+++ b/convert.c
@@ -1,4 +1,3 @@
-#define NO_THE_INDEX_COMPATIBILITY_MACROS
#include "cache.h"
#include "config.h"
#include "object-store.h"