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

Re: [PATCH, v2] tag: implement --[no-]strip option

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 15, 2011, 06:42 UTC
Message-ID
<4EC209C7.6090805@viscovery.net>
In-Reply-To
<1321307019-5557-1-git-send-email-kirill@shutemov.name>
Am 11/14/2011 22:43, schrieb Kirill A. Shutemov:
> From: "Kirill A. Shutemov" <kirill@shutemov.name>
> 
> --strip::
> 	Remove from tag message lines staring with '#', trailing spaces
s/staring/starting/
Show 5 quoted lines
> 	from every line and empty lines from the beginning and end.
> 	Enabled by default. Use --no-strip to overwrite the behaviour.
> 
> --no-strip is useful if you want to take a tag message as-is, without
> any stripping.

I would like to know why this is useful. Tag messages are for human consumption. What benefit is it that whitespace is not stripped? Why are lines starting with '#' so important that they need to stay in the tag message?

-- Hannes
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “tag: implement --[no-]strip option”
  1. tag: implement --[no-]strip optionKirill A. Shutemov, Nov 14, 2011
  2. Junio C HamanoNov 14, 2011
  3. Kirill A. ShutemovNov 14, 2011
  4. Junio C HamanoNov 14, 2011
  5. Johannes SixtNov 15, 2011
  6. Junio C HamanoNov 15, 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.