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

Re: [PATCH, v3] git-tag: introduce --[no-]strip options

From
Jeff King <peff@peff.net>
Date
Dec 3, 2011, 20:04 UTC
Message-ID
<20111203200428.GB6207@sigill.intra.peff.net>
In-Reply-To
<1322932376-15720-1-git-send-email-kirill@shutemov.name>
On Sat, Dec 03, 2011 at 07:12:56PM +0200, Kirill A. Shutemov wrote:
Show 7 quoted lines
> From: "Kirill A. Shutemov" <kirill@shutemov.name>
> 
> Normally git tag stripes tag message lines starting with '#', trailing
> spaces from every line and empty lines from the beginning and end.
> 
> --no-strip is useful if you want to take a tag message as-is, without
> any stripping.

Perhaps this should mirror the "--clean" option from git-commit, as they are basically doing the same thing? Besides the name difference, --clean supports three modes: verbatim, whitespace, and strip. And defaults to strip or whitespace depending on whether we are actually writing into the editor.

-Peff
Previous: Kirill A. Shutemov
Message 2 of 2 in “git-tag: introduce --[no-]strip options”
  1. git-tag: introduce --[no-]strip optionsKirill A. Shutemov, Dec 3, 2011
  2. Jeff KingDec 3, 2011

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.