path.c: simplify adjust_shared_perm()
authorTorsten Bögershausen <tboegi@web.de>
Sat, 30 Mar 2013 09:53:32 +0000 (10:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Apr 2013 19:37:55 +0000 (12:37 -0700)
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 <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found