summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-04-03 19:29:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-04-03 19:29:45 (GMT)
commit625589b5bebb95a13732c15b7c680c8b1540035b (patch)
treee7a5efce2d4e614050f086d461d1923aed5c2838 /cache.h
parentebae9ff95de2d0b36b061c7db833df4f7e01a41d (diff)
parent2169ddc056b56deba701cbbba28cdaf2e9821224 (diff)
downloadgit-625589b5bebb95a13732c15b7c680c8b1540035b.zip
git-625589b5bebb95a13732c15b7c680c8b1540035b.tar.gz
git-625589b5bebb95a13732c15b7c680c8b1540035b.tar.bz2
Merge branch 'lp/config-vername-check' into maint
* 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 f2dabef..e637ca8 100644
--- a/cache.h
+++ b/cache.h
@@ -999,6 +999,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);