difftool: allow running outside Git worktrees with --no-index
[gitweb.git] / builtin / update-index.c
index 7abde20169ac12d88a6206d232d8cf48a1bb8a60..1b6c42f748fd52ece4cf5f109f92a50bc2a87be3 100644 (file)
@@ -3,6 +3,7 @@
  *
  * Copyright (C) Linus Torvalds, 2005
  */
+#define USE_THE_INDEX_COMPATIBILITY_MACROS
 #include "cache.h"
 #include "config.h"
 #include "lockfile.h"