summaryrefslogtreecommitdiff
path: root/t/t5501-fetch-push-alternates.sh
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2021-01-12 13:26:54 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-12 12:03:18 -0800
commitb342ae61b3658ed4c062a27f8e46ea79c38d4197 (patch)
tree637ec6550f3c4b0caa5bdb3152fd4e217dbcaf62 /t/t5501-fetch-push-alternates.sh
parentquote: make sq_dequote_step() a public function (diff)
downloadtgif-b342ae61b3658ed4c062a27f8e46ea79c38d4197.tar.xz
config: extract function to parse config pairs
The function `git_config_parse_parameter` is responsible for parsing a `foo.bar=baz`-formatted configuration key, sanitizing the key and then processing it via the given callback function. Given that we're about to add a second user which is going to process keys which already has keys and values separated, this commit extracts a function `config_parse_pair` which only does the sanitization and processing part as a preparatory step. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5501-fetch-push-alternates.sh')
0 files changed, 0 insertions, 0 deletions