diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-07-19 09:45:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-19 09:45:24 -0700 |
commit | ff94409da9bdc5cafc02ee154bf09060eef3158f (patch) | |
tree | d09ac6febc909a19f0cb04c75db7305f93c9cca7 /config.c | |
parent | fe01ef31b79af85ca50738b11b048e3fad856d34 (diff) | |
parent | 84054f79de35015fc92f73ec4780102dd820e452 (diff) | |
download | git-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |