commit ecd6d584a43fb588ad5ff6cf904303a835c8da14 from: Stefan Sperling date: Sat Jun 27 15:20:28 2020 UTC fix definition of the GOT_FILEIDX_MODE_PERMS bitmask commit - b737c85ae178a737ce5b50fc1967390d2c54292b commit + ecd6d584a43fb588ad5ff6cf904303a835c8da14 blob - aff771b0551ee8d209acba24e8ce1cfe8383392d blob + af6efe8eca81db02b8067b47cf97720194c03e52 --- lib/got_lib_fileindex.h +++ lib/got_lib_fileindex.h @@ -39,7 +39,7 @@ struct got_fileindex_entry { #define GOT_FILEIDX_MODE_FILE_TYPE 0x000f #define GOT_FILEIDX_MODE_REGULAR_FILE 1 #define GOT_FILEIDX_MODE_SYMLINK 2 -#define GOT_FILEIDX_MODE_PERMS 0xff10 +#define GOT_FILEIDX_MODE_PERMS 0xfff0 #define GOT_FILEIDX_MODE_PERMS_SHIFT 4 /* SHA1 of corresponding blob in repository. */