diff options
author | Torsten Bögershausen <tboegi@web.de> | 2013-03-30 10:53:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-05 12:39:38 -0700 |
commit | cbe43b847379e8d3db6aab2913b29b730fa5ca45 (patch) | |
tree | 589827aad1a219d4e708ff06f8d15cb3cb6e68ae /contrib/blameview | |
parent | path.c: simplify adjust_shared_perm() (diff) | |
download | tgif-cbe43b847379e8d3db6aab2913b29b730fa5ca45.tar.xz |
path.c: optimize adjust_shared_perm()
Sometimes the chown() function is called even when not needed (This
can be provoked by running t1301, and adding some debug code).
Save a chmod from 400 to 400, or from 600 to 600 on these files:
.git/info/refs+
.git/objects/info/packs+
Save chmod on directories from 2770 to 2770:
.git/refs
.git/refs/heads
.git/refs/tags
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/blameview')
0 files changed, 0 insertions, 0 deletions