mirror of
https://github.com/git/git.git
synced 2026-03-03 21:07:56 +01:00
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>
6.0 KiB
6.0 KiB