git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Apr 10, 2019, 21:56 UTC
Message-ID
<nycvar.QRO.7.76.6.1904102354510.41@tvgsbejvaqbjf.bet>
In-Reply-To
<xmqqr2ab2gs6.fsf@gitster-ct.c.googlers.com>
Hi Junio,
On Wed, 10 Apr 2019, Junio C Hamano wrote:
Show 9 quoted lines
> * 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: |
Previous: Johannes SchindelinNext: Junio C Hamano
Message 13 of 17 in “What's cooking in git.git (Apr 2019, #02; Wed, 10)”
  1. Junio C HamanoApr 9, 2019
  2. Denton LiuApr 9, 2019
  3. Junio C HamanoApr 10, 2019
  4. Thomas GummererApr 9, 2019
  5. Junio C HamanoApr 10, 2019
  6. Thomas GummererApr 10, 2019
  7. Johannes SchindelinApr 10, 2019
  8. Todd ZullingerApr 10, 2019
  9. Phillip WoodApr 10, 2019
  10. Johannes SchindelinApr 10, 2019
  11. Mazo, AndreyApr 10, 2019
  12. nd/switch-and-restore, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)Johannes Schindelin, Apr 10, 2019
  13. dl/warn-tagging-a-tag, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)Johannes Schindelin, Apr 10, 2019
  14. Junio C HamanoApr 12, 2019
  15. jh/trace2-sid-fix, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)Johannes Schindelin, Apr 10, 2019
  16. Christian CouderApr 11, 2019
  17. Junio C HamanoApr 14, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.