summaryrefslogtreecommitdiff
path: root/builtin/config.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-02-23 14:44:07 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-23 14:44:07 -0800
commitee98df3fa41d83f037b96cb11dc72181816920c7 (patch)
treed1a022a4ac367651e23ab1f138dd8e12dd968d23 /builtin/config.c
parentpreparing for 2.10.3 (diff)
downloadtgif-ee98df3fa41d83f037b96cb11dc72181816920c7.tar.xz
config: move a few helper functions up
git_config_parse_key() implements the validation and downcasing of <section> and <variable> in "<section>[.<subsection>].<variable>" configuration variable name. Move it (and helpers it uses) a bit up so that it can be used by git_config_parse_parameter(), which is used to check configuration settings that are given on the command line (i.e. "git -c VAR=VAL cmd"), in a later patch. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/config.c')
0 files changed, 0 insertions, 0 deletions