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, 13:56 UTC
Message-ID
<Pine.LNX.4.64.0707101452250.4047@racer.site>
In-Reply-To
<20070710132401.GJ2343@thunk.org>
Hi,
On Tue, 10 Jul 2007, Theodore Tso wrote:
Show 19 quoted lines
> In general a patch series goes through multiple cycles of
> improvements, where people send it out for review/comment, and then it
> gets fixed up, etc. etc.   So you don't want to just do this:
> 
> On Mon, Jul 09, 2007 at 11:57:21PM -0700, Junio C Hamano wrote:
> 
> >  $ work work work, commit commit commit, reorder and perfect
> >  $ git format-patch --with-cover origin..HEAD
> >  ... which notices --with-cover, and perhaps does
> >  ... $ git-shortlog origin..HEAD
> >  ... $ git diff --stat --summary origin..HEAD
> >  ... $ echo "*** BLURB HERE ***"
> >  ... to create 0/N which it did not do so far in
> >  ... 0000-cover-letter.txt
> >  $ $EDITOR 0000-cover-letter.txt
> >  $ git-send-email 0*.txt
> 
> Because you'll be sending out the 0000-cover-letter.txt multiple
> times, refining it (and the patches) as you go along.
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?

Of course, you can still hand roll something with a commit. Probably a squash merge of your patch series.

Ciao, Dscho

Previous: Theodore TsoNext: Theodore Tso
Message 4 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.