diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-02-27 21:58:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-27 21:58:31 -0800 |
commit | fbfeeaf29480a3299fa6c3349b7a8c1b147c18c5 (patch) | |
tree | 4e7060b4640e33114131dff5c8df78dc60470ef9 /cache.h | |
parent | ecd75ddb6f3fb7f2424d5852bcb4f50896cdcc9d (diff) | |
parent | 2169ddc056b56deba701cbbba28cdaf2e9821224 (diff) | |
download | git-fbfeeaf29480a3299fa6c3349b7a8c1b147c18c5.tar.gz |
Merge branch 'lp/config-vername-check'
* lp/config-vername-check:
Disallow empty section and variable names
Sanity-check config variable names
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1014,6 +1014,7 @@ extern int git_config_maybe_bool(const char *, const char *); extern int git_config_string(const char **, const char *, const char *); extern int git_config_pathname(const char **, const char *, const char *); extern int git_config_set(const char *, const char *); +extern int git_config_parse_key(const char *, char **, int *); extern int git_config_set_multivar(const char *, const char *, const char *, int); extern int git_config_rename_section(const char *, const char *); extern const char *git_etc_gitconfig(void); |