X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft1300-repo-config.sh;h=ab4dd5c4ce14c496e1239a0013952c4c422a6a50;hb=f067a13745fbeae1aa357876348a00e5edd0a629;hp=207dd3de6484518018b4eb7efe26dc449a9f71cd;hpb=aa1dbc9897822c8acb284b35c40da60f3debca91;p=git.git diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index 207dd3de..ab4dd5c4 100755 --- a/t/t1300-repo-config.sh +++ b/t/t1300-repo-config.sh @@ -247,5 +247,13 @@ EOF test_expect_success 'hierarchical section value' 'cmp .git/config expect' +cat > .git/config << EOF +[novalue] + variable +EOF + +test_expect_success 'get variable with no value' \ + 'git-repo-config --get novalue.variable ^$' + test_done