X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft1300-repo-config.sh;h=ab4dd5c4ce14c496e1239a0013952c4c422a6a50;hb=50cbebf78ddf4f7e79ffa74c51d6fb0f11c19a2e;hp=207dd3de6484518018b4eb7efe26dc449a9f71cd;hpb=53e7181cd9927a8a194f4770c597744d96a113a2;p=git.git diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh old mode 100644 new mode 100755 index 207dd3de..ab4dd5c4 --- 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