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

Re: git am and mangled subject lines

From
PSPhillip Susi <psusi@ubuntu.com>
Date
Feb 24, 2014, 20:24 UTC
Message-ID
<530BAA6F.4030401@ubuntu.com>
In-Reply-To
<xmqqios48drt.fsf@gitster.dls.corp.google.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/24/2014 3:19 PM, Junio C Hamano wrote:
Show 8 quoted lines
> Phillip Susi <psusi@ubuntu.com> writes:
> 
>> 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:"?
> 
> I think applypatch-msg hook is your friend in a case like this.

Can you point me in the direction of some documentation on this? I don't see it mentioned in the man pages for git am or mailinfo ( I would think that would be the place to have it ).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTC6pvAAoJEI5FoCIzSKrwQpYH/iJ8RPqEoIoO+GBU2HxmCfEZ Tlo1qwbvw26ALY71/WQFtVKW+3Bh1XYpAs0rsL5tpCJw/EMgAEm1cPFASf+BHcRI NO57NBdk9we+hvUju+o6/It5e6OrYj/im+nI/AFfenRsbwPj8/S0MoMiP4jOEVkW tTSCEeC5ldR4IbxBfphbV7me79Sk8nZssXTFmWJEv80H41LdMd8ZThR4ZFCcyzUR ifAflWHN7dj3uwY0Lr+OdCRrPw3qU1LXRjKK2SHBTG1Qk4uJW3sFJKHTupAipOEQ KKQ0QP/4WQWCSjq+8El4jnnlf++KAwbbOnAVYkbeKzy/4KOxJX7pimDypJHYGp8= =LZvc -----END PGP SIGNATURE-----

Previous: Junio C HamanoNext: Jonathan Nieder
Message 4 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.