Add S_IFINVALID mode
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 89aaf0022d95dfe8ffda4031021e4d059998d28c..b1adbe7b6ed9df8c07d7db4c0a3d1517c4af53f9 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -24,6 +24,9 @@
 #define DTYPE(de)      DT_UNKNOWN
 #endif
 
+/* unknown mode (impossible combination S_IFIFO|S_IFCHR) */
+#define S_IFINVALID     0030000
+
 /*
  * A "directory link" is a link to another git directory.
  *