add: error appropriately on repository with no commits
[gitweb.git] / builtin / submodule--helper.c
index 0e140f176ce3b559478a5bc4245bf36905c543cf..b80fc4ba3d88b56436fa3f6b9a132bfe9e82b79b 100644 (file)
@@ -1,3 +1,4 @@
+#define USE_THE_INDEX_COMPATIBILITY_MACROS
 #include "builtin.h"
 #include "repository.h"
 #include "cache.h"