compat: convert modes to use portable file type values
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index dcf3a2afe9d782e4b2474d8834602f80610ba25f..a2911fa88cb3f02d0c4554224e168b1dfab18c19 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -64,13 +64,6 @@ unsigned long git_deflate_bound(git_zstream *, unsigned long);
  *
  * The value 0160000 is not normally a valid mode, and
  * also just happens to be S_IFDIR + S_IFLNK
- *
- * NOTE! We *really* shouldn't depend on the S_IFxxx macros
- * always having the same values everywhere. We should use
- * our internal git values for these things, and then we can
- * translate that to the OS-specific value. It just so
- * happens that everybody shares the same bit representation
- * in the UNIX world (and apparently wider too..)
  */
 #define S_IFGITLINK    0160000
 #define S_ISGITLINK(m) (((m) & S_IFMT) == S_IFGITLINK)