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

Re: [PATCH] mailinfo: remove [PATCH...] prefix from Subject regardless of length

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 25, 2009, 01:10 UTC
Message-ID
<7vmy2b76ji.fsf@alter.siamese.dyndns.org>
In-Reply-To
<874ookp4u8.fsf@meyering.net>
Jim Meyering <meyering@redhat.com> writes:
> Before this change, a [...] prefix would be removed only as long as
> its length did not exceed 2/3 of the subject length.  Now, when the
> bracketed quantity starts with PATCH, it is removed unconditionally.
> Otherwise, the existing behavior remains unchanged.
Thanks, I think this is a good idea in general, but have two comments.
 - I am not sure how this should play with 17635fc (mailinfo: -b option
   keeps [bracketed] strings that is not a [PATCH] marker, 2009-07-15).
 - Regardless of interaction with 17635fc, Things like [RFC PATCH]
   [SECURITY PATCH] might want a similar treatment.
Previous: Jim MeyeringNext: Jim Meyering
Message 2 of 6 in “mailinfo: remove [PATCH...] prefix from Subject regardless of length”
  1. mailinfo: remove [PATCH...] prefix from Subject regardless of lengthJim Meyering, Nov 24, 2009
  2. Junio C HamanoNov 25, 2009
  3. git-am: don't ignore --keep (-k) optionJim Meyering, Nov 25, 2009
  4. Junio C HamanoNov 27, 2009
  5. Jim MeyeringNov 27, 2009
  6. Junio C HamanoNov 27, 2009

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.