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/diff_print.c | |
parent | af22dabb4366f8b2dd4acd5725a25e88842d6938 (diff) |
Better macro name for is-exec-bit-set test
Diffstat (limited to 'src/diff_print.c')
-rw-r--r-- | src/diff_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_print.c b/src/diff_print.c index 96937d84d..ee4b5fc17 100644 --- a/src/diff_print.c +++ b/src/diff_print.c @@ -46,7 +46,7 @@ static char diff_pick_suffix(int mode) { if (S_ISDIR(mode)) return '/'; - else if (GIT_PERMS_EXECUTABLE(mode)) /* -V536 */ + else if (GIT_PERMS_IS_EXEC(mode)) /* -V536 */ /* in git, modes are very regular, so we must have 0100755 mode */ return '*'; else |