From: Torsten Bögershausen Date: Sat, 30 Mar 2013 09:53:32 +0000 (+0100) Subject: path.c: simplify adjust_shared_perm() X-Git-Tag: v1.8.3-rc0~90^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3a429d3b8d03c98fbc775eb34a54b7b2bd74e02b?hp=3a429d3b8d03c98fbc775eb34a54b7b2bd74e02b path.c: simplify adjust_shared_perm() All calls to set_shared_perm() use mode == 0, so simplify the function. Because all callers use the macro adjust_shared_perm(path) from cache.h to call this function, convert it to a proper function, losing set_shared_perm(). Since path.c has much more functions than just mkpath() these days, drop the stale comment about it. Signed-off-by: Torsten Bögershausen Signed-off-by: Junio C Hamano ---