summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-19 09:45:24 -0700
committerJunio C Hamano <gitster@pobox.com>2011-07-19 09:45:24 -0700
commitff94409da9bdc5cafc02ee154bf09060eef3158f (patch)
treed09ac6febc909a19f0cb04c75db7305f93c9cca7 /config.c
parentfe01ef31b79af85ca50738b11b048e3fad856d34 (diff)
parent84054f79de35015fc92f73ec4780102dd820e452 (diff)
downloadgit-ff94409da9bdc5cafc02ee154bf09060eef3158f.tar.gz
Merge branch 'jk/clone-cmdline-config'
* jk/clone-cmdline-config: clone: accept config options on the command line config: make git_config_parse_parameter a public function remote: use new OPT_STRING_LIST parse-options: add OPT_STRING_LIST helper
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 9340dfe5a8..6b61a849d2 100644
--- a/config.c
+++ b/config.c
@@ -47,8 +47,8 @@ void git_config_push_parameter(const char *text)
strbuf_release(&env);
}
-static int git_config_parse_parameter(const char *text,
- config_fn_t fn, void *data)
+int git_config_parse_parameter(const char *text,
+ config_fn_t fn, void *data)
{
struct strbuf **pair;
pair = strbuf_split_str(text, '=', 2);