author | Junio C Hamano <junkio@cox.net> | |
Sat, 4 Nov 2006 20:24:05 +0000 (12:24 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 6 Nov 2006 02:36:36 +0000 (18:36 -0800) | ||
commit | fe732edee10f9b241c8df9b4ea081a4f33ad3968 | |
tree | 5ceabceaefd7d72d75f381ef7d872d63c6c4b83b | tree | snapshot |
parent | 49b8b2926fdcc4322445f0a3bda459e81cd98e9a | commit | diff |
adjust_shared_perm: chmod() only when needed.
When widening permission for files and directories in a 'shared'
repository for a user with inappropriate umask() setting for
shared work, make sure we call chmod() only when we actually
need to.
The primary idea owes credit to Johannes.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When widening permission for files and directories in a 'shared'
repository for a user with inappropriate umask() setting for
shared work, make sure we call chmod() only when we actually
need to.
The primary idea owes credit to Johannes.
Signed-off-by: Junio C Hamano <junkio@cox.net>
path.c | diff | blob | history |