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

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

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Jul 28, 2009, 18:15 UTC
Message-ID
<20090728181524.GC16168@vidovic>
In-Reply-To
<200907281938.24960.elendil@planet.nl>
The 28/07/09, Frans Pop wrote:
> On Tuesday 28 July 2009, Nicolas Sebrecht wrote:
> 
> If my feature request is implemented I'll of course make sure to omit the
> '---' line if needed.
This is already done.
> Here are some other examples (some of which would equally need to drop or 
> change a separator line).
> http://lkml.org/lkml/2009/6/25/62
Uses "From:", "Date:", and "Subject:".
> http://lkml.org/lkml/2009/6/22/114
Uses "From:" and "Subject:".
> http://lkml.org/lkml/2009/6/30/109
Uses "Subject:" only.

I guess there are as results as contributors but it could be possible to add some rules to the format. This could ending up with an unuseable feature in practice, though. I don't know.

> http://lkml.org/lkml/2009/6/30/224
Broken link ?
> As Mark Brown has already said, that won't solve the issue for an 
> introduction or comments added by the sender of the mail.
True.
> Also, people use all kinds of quoting schemes, not just leading ">".
And people don't use the same rules with the "inline headers" too. :-)
> And I've also seen plenty of cases where quoted lines _were_ a desired 
> part of a commit log.
Yes, that's why it's an _option_.
-- 
Nicolas Sebrecht
Previous: Frans PopNext: Frans Pop
Message 5 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.