blame: default to HEAD in a bare repo when no start commit is given
[gitweb.git] / builtin / rev-parse.c
index 910a71ed8b7997a4d1317f9a2bf048bc2617040a..f8bbe6d47ec397f55bec62d6a71bc6db8f08b54b 100644 (file)
@@ -3,6 +3,7 @@
  *
  * Copyright (C) Linus Torvalds, 2005
  */
+#define USE_THE_INDEX_COMPATIBILITY_MACROS
 #include "cache.h"
 #include "config.h"
 #include "commit.h"