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

Re: How to prepend data when formatting patches ?

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Nov 30, 2006, 16:16 UTC
Message-ID
<38b2ab8a0611300816r19d883a8qab93c86ff11b7ed7@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.63.0611301638430.30004@wbgn013.biozentrum.uni-wuerzburg.de>
On 11/30/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 18 quoted lines
> Hi,
>
> On Thu, 30 Nov 2006, Francis Moreau wrote:
>
> > I'd like to add to all patchs created by "git-format-patch" command
> > the following line:
> >
> >        From: xxx.yyy <foo@crazy.com>
>
> From Documentation/git-format-patch.txt:
>
> -- snip --
>
> CONFIGURATION
> -------------
> You can specify extra mail header lines to be added to each
> message in the repository configuration as follows:
>

I stupily thought that it couldn't be used to prepend message for the message body. But since it appends the line at the end of mail header, it does the right thing for me.

Thanks for your quick answer
Previous: Johannes SchindelinNext: Catalin Marinas
Message 3 of 5 in “How to prepend data when formatting patches ?”
  1. Francis MoreauNov 30, 2006
  2. Johannes SchindelinNov 30, 2006
  3. Francis MoreauNov 30, 2006
  4. Catalin MarinasNov 30, 2006
  5. Francis MoreauNov 30, 2006

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.