X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3301-notes.sh;h=1d82f79ee07e8f9317bc23c49cdf941af36ce3ff;hb=b6b84d1b7458676d2564ac7f8dad8a10bf900239;hp=2d67a40fc16385b8bee37968f4058b094a174a98;hpb=978327f97dd3bd20f1648a2fcac601191976b18c;p=git.git diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index 2d67a40fc..1d82f79ee 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -693,7 +693,11 @@ test_expect_success 'create note from non-existing note with "git notes add -c" git add a10 && test_tick && git commit -m 10th && - test_must_fail MSG="yet another note" git notes add -c deadbeef && + ( + MSG="yet another note" && + export MSG && + test_must_fail git notes add -c deadbeef + ) && test_must_fail git notes list HEAD '