dl/warn-tagging-a-tag, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Junio,

On Wed, 10 Apr 2019, Junio C Hamano wrote:

> * dl/warn-tagging-a-tag (2019-04-09) 2 commits
>  - tag: advise on nested tags
>  - tag: fix formatting
>
>  "git tag" learned to give an advice suggesting it might be a
>  mistake when creating an annotated or signed tag that points at
>  another tag.
>
>  Will merge to 'next'.

For me, this does not work without this squashed in:

-- snipsnap --
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index 33a1d70b434d..7767cb1fab64 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -1688,7 +1688,7 @@ test_expect_success '--points-at finds annotated tags of tags' '
 '

 test_expect_success 'recursive tagging should give advice' '
-	sed -e 's/|$//' <<-EOF >expect &&
+	sed -e "s/|$//" <<-EOF >expect &&
 	hint: You have created a nested tag. The object referred to by your new is
 	hint: already a tag. If you meant to tag the object that it points to, use:
 	hint: |





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux