summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-09-05 12:01:17 -0700
committerRussell Belfer <rb@github.com>2013-09-05 12:01:17 -0700
commitaf22dabb4366f8b2dd4acd5725a25e88842d6938 (patch)
tree91221d88877c7ca73d0373f6d42def58f21397db /src/commit.c
parentc97d407d9cc54fc99af0a57e09e04e9e0bc68cb6 (diff)
downloadlibgit2-af22dabb4366f8b2dd4acd5725a25e88842d6938.tar.gz
GIT_MODE_TYPE should exclude setgid bits
The GIT_MODE_TYPE macro was looking at all bits above the permissions, but it should really just look at the top bits so that it will give the right results for a setgid or setuid entry. Since we're now using these macros in the tests, this was causing a test failure on platforms that don't support setgid.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions