aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-02-27 21:58:31 -0800
committerJunio C Hamano <gitster@pobox.com>2011-02-27 21:58:31 -0800
commitfbfeeaf29480a3299fa6c3349b7a8c1b147c18c5 (patch)
tree4e7060b4640e33114131dff5c8df78dc60470ef9 /cache.h
parentecd75ddb6f3fb7f2424d5852bcb4f50896cdcc9d (diff)
parent2169ddc056b56deba701cbbba28cdaf2e9821224 (diff)
downloadgit-fbfeeaf29480a3299fa6c3349b7a8c1b147c18c5.tar.gz
git-fbfeeaf29480a3299fa6c3349b7a8c1b147c18c5.tar.xz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 5cc2f896d..79723aac7 100644
--- a/cache.h
+++ b/cache.h
@@ -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);