diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-07 14:33:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-07 14:33:11 -0700 |
commit | e65cdde45444a9cb297d4ff8f18d1eb5529cdce4 (patch) | |
tree | 77ad3f2088919d73fe5da2ee12f6113bac2e30fa /cache.h | |
parent | 60eea92b506821ec957b2ab331dcd2009b0259f1 (diff) | |
parent | cbe43b847379e8d3db6aab2913b29b730fa5ca45 (diff) | |
download | git-e65cdde45444a9cb297d4ff8f18d1eb5529cdce4.tar.gz |
Merge branch 'tb/shared-perm'
Simplifies adjust_shared_perm() implementation.
* tb/shared-perm:
path.c: optimize adjust_shared_perm()
path.c: simplify adjust_shared_perm()
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -719,8 +719,7 @@ enum sharedrepo { PERM_EVERYBODY = 0664 }; int git_config_perm(const char *var, const char *value); -int set_shared_perm(const char *path, int mode); -#define adjust_shared_perm(path) set_shared_perm((path), 0) +int adjust_shared_perm(const char *path); int safe_create_leading_directories(char *path); int safe_create_leading_directories_const(const char *path); int mkdir_in_gitdir(const char *path); |