Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-09-06 03:14:32 +0400
committerRussell Belfer <rb@github.com>2013-09-06 03:14:32 +0400
commita7fcc44dcf3b2925ba366543486afd102b41838c (patch)
treebc23c09c01594392a4560dc7c0629489c73a9e0d /src/tree.c
parentaf22dabb4366f8b2dd4acd5725a25e88842d6938 (diff)
Better macro name for is-exec-bit-set test
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c2
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 */