diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:27:16 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-22 12:27:16 -0800 |
commit | 2f17ecbd8d58c79e76767da82cf824840dfd367f (patch) | |
tree | eb6f57c76e79155a84fc74820856354b160399fa /cache.h | |
parent | 0b5ae7ba68476da128aa0507f44eaabea0870bf1 (diff) | |
parent | d543d9c0f44a89f30ec1670f16c698b5da801476 (diff) | |
download | git-2f17ecbd8d58c79e76767da82cf824840dfd367f.tar.gz |
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.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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) |