diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-11-17 13:20:48 -0500 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-11-17 13:20:48 -0500 |
| commit | 41744745e3af1379e36487f02a2210378f5d5224 (patch) | |
| tree | 23e9f7e47155e28610ab9ae1e51a683185af29cf /include/git2 | |
| parent | 32b9e647c5a91bb2cfb42822d86962054cfeeeea (diff) | |
| parent | 88638f9b1841a83e82fc5f79bf00f90d40fb426f (diff) | |
| download | libgit2-41744745e3af1379e36487f02a2210378f5d5224.tar.gz | |
Merge pull request #3512 from ethomson/windows_sysdir
Protect windows SYSDIR when running tests
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/common.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/git2/common.h b/include/git2/common.h index e687977d5..ee230dfae 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -174,9 +174,9 @@ typedef enum { * * opts(GIT_OPT_GET_SEARCH_PATH, int level, git_buf *buf) * * > Get the search path for a given level of config data. "level" must - * > be one of `GIT_CONFIG_LEVEL_SYSTEM`, `GIT_CONFIG_LEVEL_GLOBAL`, or - * > `GIT_CONFIG_LEVEL_XDG`. The search path is written to the `out` - * > buffer. + * > be one of `GIT_CONFIG_LEVEL_SYSTEM`, `GIT_CONFIG_LEVEL_GLOBAL`, + * > `GIT_CONFIG_LEVEL_XDG`, or `GIT_CONFIG_LEVEL_PROGRAMDATA`. + * > The search path is written to the `out` buffer. * * * opts(GIT_OPT_SET_SEARCH_PATH, int level, const char *path) * @@ -188,8 +188,9 @@ typedef enum { * > variables). Use magic path `$PATH` to include the old value * > of the path (if you want to prepend or append, for instance). * > - * > - `level` must be GIT_CONFIG_LEVEL_SYSTEM, GIT_CONFIG_LEVEL_GLOBAL, - * > or GIT_CONFIG_LEVEL_XDG. + * > - `level` must be `GIT_CONFIG_LEVEL_SYSTEM`, + * > `GIT_CONFIG_LEVEL_GLOBAL`, `GIT_CONFIG_LEVEL_XDG`, or + * > `GIT_CONFIG_LEVEL_PROGRAMDATA`. * * * opts(GIT_OPT_SET_CACHE_OBJECT_LIMIT, git_otype type, size_t size) * |
