summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-04-21 11:57:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-04-21 11:59:50 -0400
commitcbf9a9420e5d0fd9af2ad7d2864618386a75cfc3 (patch)
treea67524b1fe1a9e12516371e04065f9b443408147 /Git
parent5cc76098ca7b702772ccf37a47f03da088148003 (diff)
avoid chown call if the current file mode is same as new
Not only an optimisation. fsck always tried to preventWrite to make sure file modes are good, and in a shared repo, that will fail on directories not owned by the current user. Although there may be other problems with such a setup.
Diffstat (limited to 'Git')
0 files changed, 0 insertions, 0 deletions