X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7004-tag.sh;h=4ef79aabc47a4ef2e9def65253edf6bcd8ce91a3;hb=44a1020d4d41b90be80745c7a16e2a49fa612b56;hp=e93ac73829f332cdbf53b05fcc611d4ea38c4c55;hpb=5a6a9394814273e88124a5576c0be6d37a1262cc;p=git.git diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index e93ac7382..4ef79aabc 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -586,6 +586,19 @@ test_expect_success \ test_cmp expect actual ' +test_expect_success 'annotations for blobs are empty' ' + blob=$(git hash-object -w --stdin <<-\EOF + Blob paragraph 1. + + Blob paragraph 2. + EOF + ) && + git tag tag-blob $blob && + echo "tag-blob " >expect && + git tag -n1 -l tag-blob >actual && + test_cmp expect actual +' + # trying to verify annotated non-signed tags: test_expect_success GPG \