diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-02-23 14:44:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-23 14:44:07 -0800 |
commit | ee98df3fa41d83f037b96cb11dc72181816920c7 (patch) | |
tree | d1a022a4ac367651e23ab1f138dd8e12dd968d23 /builtin/config.c | |
parent | preparing for 2.10.3 (diff) | |
download | tgif-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