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

Re: Add option in git-am to ignore leading text?

From
Mark Brown <broonie@opensource.wolfsonmicro.com>
Date
Jul 28, 2009, 14:31 UTC
Message-ID
<20090728143149.GA3013@sirena.org.uk>
In-Reply-To
<20090728142219.GA16168@vidovic>
On Tue, Jul 28, 2009 at 04:22:19PM +0200, Nicolas Sebrecht wrote:
> IMHO, a better way would be to ignore lines beginning with a defined
> level of quotes in the commit message (the "level" beeing the number of
> '>' or '> ' found at the beginning of a line. Something like
> 	--strip-quotes[=N]
> where N is the level of quoted lines to remove (if "=N" is
> not given, assume that the level is 1 and remove all the quotes).
> Comments?

That would help but it'll still carry over at least part of the discussion that preceeds the patch (normally the person sending the patch will say something as well as including the patch) and it won't pick up things like the subject line without some manual fixing.

Previous: Nicolas SebrechtNext: Frans Pop
Message 3 of 7 in “Add option in git-am to ignore leading text?”
  1. Frans PopJul 28, 2009
  2. Nicolas SebrechtJul 28, 2009
  3. Mark BrownJul 28, 2009
  4. Frans PopJul 28, 2009
  5. Nicolas SebrechtJul 28, 2009
  6. Frans PopJul 28, 2009
  7. Frans PopJul 28, 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.