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

Re: git-format-patch --subject-prefix support.

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Apr 12, 2007, 00:54 UTC
Message-ID
<Pine.LNX.4.64.0704120150320.22924@beast.quantumfyre.co.uk>
In-Reply-To
<7vodlumntw.fsf@assigned-by-dhcp.cox.net>
On Wed, 11 Apr 2007, Junio C Hamano wrote:
Show 12 quoted lines
> "Robin H\. Johnson" <robbat2@gentoo.org> writes:
>
>> Add a new option to git-format-patch, entitled --subject-prefix that allows
>> control of the subject prefix '[PATCH]'. Using this option, the text 'PATCH' is
>> replaced with whatever input is provided to the option. This allows easily
>> generating patches like '[PATCH 2.6.21-rc3]' or properly numbered series like
>> '[-mm3 PATCH N/M]'.
>>
>> 1/2 - Implementation and documentation
>> 2/2 - Test case
>
> I suspect this is a job for send-email, not format-patch.  List?

Surely though, send-email is simply a helper for sending patches generated by format-patch? Is there any reason to deny the ability to set the prefix to those who don't use send-email but do use format-patch? (Personally I found send-email to be cumbersome and confusing, so I've stopped using it ...)

It's format-patch that applies the current "[PATCH]" prefix anyway ...
-- 
Julian

  ---
Death, when unnecessary, is a tragic thing.
 		-- Flint, "Requiem for Methuselah", stardate 5843.7
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “git-format-patch --subject-prefix support.”
  1. Robin H. JohnsonApr 11, 2007
  2. 1/2 Add custom subject prefix support to format-patch (take 3)Robin H. Johnson, Apr 11, 2007
  3. 2/2 Add testcase for format-patch --subject-prefix (take 3)Robin H. Johnson, Apr 11, 2007
  4. Junio C HamanoApr 12, 2007
  5. Julian PhillipsApr 12, 2007
  6. Junio C HamanoApr 12, 2007
  7. Junio C HamanoApr 12, 2007

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.