diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-19 07:19:09 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-19 07:19:09 +0400 |
commit | d9faecac641ab31c7bfe5008f5a6dca119b79bc7 (patch) | |
tree | e132b0d810e00c6ea2bb4ea5c8a4597ff4cb0e2a /cache.h | |
parent | 72afd3eea6758a5ef181eaa3eef0b21639177494 (diff) | |
parent | 94df2506edd76a886a1044376f8c99349b2f226e (diff) |
Merge branch 'jc/shared'
* jc/shared:
shared repository: optionally allow reading to "others".
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -208,6 +208,12 @@ extern const unsigned char null_sha1[20]; int git_mkstemp(char *path, size_t n, const char *template); +enum sharedrepo { + PERM_UMASK = 0, + PERM_GROUP, + PERM_EVERYBODY +}; +int git_config_perm(const char *var, const char *value); int adjust_shared_perm(const char *path); int safe_create_leading_directories(char *path); size_t safe_strncpy(char *, const char *, size_t); |