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

Re: [RFC] series headers

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 10, 2007, 15:23 UTC
Message-ID
<Pine.LNX.4.64.0707101617520.4047@racer.site>
In-Reply-To
<20070710144808.GA27033@thunk.org>
Hi,
On Tue, 10 Jul 2007, Theodore Tso wrote:
Show 13 quoted lines
> On Tue, Jul 10, 2007 at 02:56:48PM +0100, Johannes Schindelin wrote:
> > And what is so wrong with
> > 
> > [insert before format-patch] $EDITOR my-cover-letter.txt
> > 
> > [replace $EDITOR 0000-cover-letter.txt] $EDITOR my-cover-letter.txt 
> > 	0000-cover-letter.patch
> > 
> > and paste the changed text?
> 
> Nothing is *wrong* with it per-se, but if you have multiple things that 
> you are working on at the same-time, you might not want to keep 
> 0000-cover-letter.patch in your working directory.
Ah, but then maybe you want to be able to say
	git format-patch --cover-letter=<my-cover-letter> [...]
Where your cover-letter file looks something like this:
	My patch series which will rule the world
	Here is the body, and I explain what the world should look like,
	and that they should accept me as the chosen one president of the
	united geekheads of this world.

IOW the file contents to produce what is produced with my patch would look like this:

	*** SUBJECT HERE ***
	*** BLURB HERE ***
Ciao,
Dscho
Previous: Theodore TsoNext: Johannes Schindelin
Message 6 of 11 in “[RFC] series headers”
  1. Daniel BarkalowJul 10, 2007
  2. Junio C HamanoJul 10, 2007
  3. Theodore TsoJul 10, 2007
  4. Johannes SchindelinJul 10, 2007
  5. Theodore TsoJul 10, 2007
  6. Johannes SchindelinJul 10, 2007
  7. Teach the --cover-letter option to format-patchJohannes Schindelin, Jul 10, 2007
  8. Daniel BarkalowJul 10, 2007
  9. Johannes SchindelinJul 10, 2007
  10. Peter OberndorferJul 24, 2007
  11. Daniel BarkalowJul 24, 2007

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.