summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-12-22 20:27:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-12-22 20:27:16 (GMT)
commit2f17ecbd8d58c79e76767da82cf824840dfd367f (patch)
treeeb6f57c76e79155a84fc74820856354b160399fa /cache.h
parent0b5ae7ba68476da128aa0507f44eaabea0870bf1 (diff)
parentd543d9c0f44a89f30ec1670f16c698b5da801476 (diff)
downloadgit-2f17ecbd8d58c79e76767da82cf824840dfd367f.zip
git-2f17ecbd8d58c79e76767da82cf824840dfd367f.tar.gz
git-2f17ecbd8d58c79e76767da82cf824840dfd367f.tar.bz2
Merge branch 'dm/compat-s-ifmt-for-zos'
Long overdue departure from the assumption that S_IFMT is shared by everybody made in 2005. * dm/compat-s-ifmt-for-zos: compat: convert modes to use portable file type values
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/cache.h b/cache.h
index 22b7b81..f704af5 100644
--- a/cache.h
+++ b/cache.h
@@ -65,13 +65,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)