diff options
author | Russell Belfer <rb@github.com> | 2013-09-06 03:14:32 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-09-06 03:14:32 +0400 |
commit | a7fcc44dcf3b2925ba366543486afd102b41838c (patch) | |
tree | bc23c09c01594392a4560dc7c0629489c73a9e0d /src/tree.c | |
parent | af22dabb4366f8b2dd4acd5725a25e88842d6938 (diff) |
Better macro name for is-exec-bit-set test
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c index 91309e107..f9469195a 100644 --- a/src/tree.c +++ b/src/tree.c @@ -33,7 +33,7 @@ GIT_INLINE(git_filemode_t) normalize_filemode(git_filemode_t filemode) return GIT_FILEMODE_TREE; /* If any of the x bits are set */ - if (GIT_PERMS_EXECUTABLE(filemode)) + if (GIT_PERMS_IS_EXEC(filemode)) return GIT_FILEMODE_BLOB_EXECUTABLE; /* 16XXXX means commit */ |