]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Add S_IFINVALID mode
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>
Sun, 22 Apr 2007 16:43:56 +0000 (18:43 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 24 Apr 2007 07:08:49 +0000 (00:08 -0700)
S_IFINVALID is used to signal, that no mode information is available.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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.
  *