summaryrefslogtreecommitdiff
path: root/t/t1507-rev-parse-upstream.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-04-25 21:47:14 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-25 21:19:06 -0700
commit94a35b1aea88f1ad882cdd111e01410fb6d3eb46 (patch)
tree4157f0206ea05dcd97c62a0af8dc3ddc76a1fcbc /t/t1507-rev-parse-upstream.sh
parentMerge branch 'maint-1.7.9' into maint (diff)
downloadtgif-94a35b1aea88f1ad882cdd111e01410fb6d3eb46.tar.xz
config: reject bogus section names for --rename-section
You can feed junk to "git config --rename-section", which will result in a config file that git will not even parse (so you cannot fix it with git-config). We already have syntactic sanity checks when setting a variable; let's do the same for section names. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1507-rev-parse-upstream.sh')
0 files changed, 0 insertions, 0 deletions