summaryrefslogtreecommitdiff
path: root/t/t5100/info0018--no-inbody-headers
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2018-11-14 11:46:18 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-16 13:15:14 +0900
commit3e42cb3b67bef525d4bd8416d44ac1f1a1f7a495 (patch)
tree74c95d587f11d1c793dfec97ac7e983412cc34b9 /t/t5100/info0018--no-inbody-headers
parentGit 2.19.1 (diff)
downloadtgif-3e42cb3b67bef525d4bd8416d44ac1f1a1f7a495.tar.xz
clone: use a more appropriate variable name for the default refspec
cmd_clone() declares two strbufs 'key' and 'value' on the same line, suggesting that they are used to contruct a config variable's name and value. However, this is not the case: 'key' is used to construct the names of multiple config variables, while 'value' is never used as a value for any of those config variables, or for any other config variable for that matter, but only to contruct the default fetch refspec. Let's rename 'value' to 'default_refspec' to make the intent clearer. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/info0018--no-inbody-headers')
0 files changed, 0 insertions, 0 deletions