X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7500-commit.sh;h=5998baf27b5ad0fb32bf0fd42023d029a65d0e6b;hb=f1c8a48a2de69bfc9837c53f2c52ffbe7239dc3e;hp=6e18a96319bef5c4ddfbc86ce79b02b364f04387;hpb=ebb7bbf769e3785e882dffcce69816b88e0838f5;p=git.git diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh index 6e18a9631..5998baf27 100755 --- a/t/t7500-commit.sh +++ b/t/t7500-commit.sh @@ -149,10 +149,7 @@ EOF test_expect_success '--signoff' ' echo "yet another content *narf*" >> foo && - echo "zort" | ( - test_set_editor "$TEST_DIRECTORY"/t7500/add-content && - git commit -s -F - foo - ) && + echo "zort" | git commit -s -F - foo && git cat-file commit HEAD | sed "1,/^$/d" > output && test_cmp expect output '