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

Re: git am and mangled subject lines

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Feb 24, 2014, 20:05 UTC
Message-ID
<20140224200556.GH7855@google.com>
In-Reply-To
<530B9D50.6020705@ubuntu.com>
Hi Phillip,
Phillip Susi wrote:
> git am already ignores the "[PATCH X/Y]" prefix that format-patch
> adds.  Is it possible to get it to ignore any additional prefix that a
> bug tracker mangles into the subject line?  i.e. "bug #nnnn:"?

builtin/mailinfo.c is the place to start (see git-mailinfo(1)). This is a little tricky because some people *like* the "bug #nnnn:" in the subject line for a commit.

Hope that helps, Jonathan

Previous: Phillip SusiNext: Junio C Hamano
Message 2 of 5 in “git am and mangled subject lines”
  1. Phillip SusiFeb 24, 2014
  2. Jonathan NiederFeb 24, 2014
  3. Junio C HamanoFeb 24, 2014
  4. Phillip SusiFeb 24, 2014
  5. Jonathan NiederFeb 24, 2014

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.