summaryrefslogtreecommitdiffstats
path: root/tree.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 /tree.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 'tree.c')
-rw-r--r--tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index 215d3fdc7c..181a3778f3 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,3 @@
-#define NO_THE_INDEX_COMPATIBILITY_MACROS
#include "cache.h"
#include "cache-tree.h"
#include "tree.h"