Commit Diff


commit - 2417344cc53b6a209f122d9506f0f6070110e5db
commit + e8039a4a9c3a427314f84f317c4bb011b31b2be5
blob - 053f3a29b6cd31b95acc625485dd7f1450fe46fb
blob + dd28ecc607e0e077b5ab8ef39621b8e522e0ae52
--- regress/cmdline/tag.sh
+++ regress/cmdline/tag.sh
@@ -128,8 +128,10 @@ function test_tag_list {
 	local tag=1.0.0
 	local tag2=2.0.0
 
+	# create tag with Git
 	(cd $testroot/repo && git tag -a -m 'test' $tag)
-	(cd $testroot/repo && git tag -a -m 'test' $tag2)
+	# create tag with Got
+	(cd $testroot/repo && got tag -m 'test' $tag2 > /dev/null)
 
 	tag_id=`got ref -r $testroot/repo -l \
 		| grep "^refs/tags/$tag" | tr -d ' ' | cut -d: -f2`