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

git tag -s: TAG_EDITMSG should not be deleted upon failures

From
CJChristian Jaeger <christian@jaeger.mine.nu>
Date
Dec 3, 2008, 15:53 UTC
Message-ID
<4936AB74.3090901@jaeger.mine.nu>

Before I've now set my default signing key id in my ~/.gitconfig, I've run at least half a dozen times into the case where I'm running "git tag -s $tagname", carefully preparing a tag message, saving the file & exiting from the editor, only to be greeted with an error message that no key could be found for my (deliberately host-specific) email address, and my message gone. If it would keep the TAG_EDITMSG file (like git commit seems to be doing with COMMIT_EDITMSG anyway), I could rescue the message from there. I relentlessly assume that this small change would also make a handful of other people happier.

Christian.
Next: Jeff King
Message 1 of 6 in “git tag -s: TAG_EDITMSG should not be deleted upon failures”
  1. Christian JaegerDec 3, 2008
  2. Jeff KingDec 6, 2008
  3. Jeff KingDec 6, 2008
  4. Junio C HamanoDec 6, 2008
  5. Jeff KingDec 6, 2008
  6. Junio C HamanoDec 6, 2008

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.