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

Re: [PATCH 1/1] send-email: allow to compose only prepared cover letter

From
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date
Oct 14, 2015, 09:42 UTC
Message-ID
<1444815739.8361.621.camel@linux.intel.com>
In-Reply-To
<xmqqa8rma2xx.fsf@gitster.mtv.corp.google.com>
On Tue, 2015-10-13 at 14:11 -0700, Junio C Hamano wrote:
Show 17 quoted lines
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> writes:
> 
> > My often use case is to do:
> > 	% git format-patch --cover-letter --subject-prefix="PATCH 
> > vN" rev1^..revXYZ
> > 	% $GIT_EDITOR 0000-*
> > 	% git send-email 00* # assumes series less than 100 
> > patches
> > 	% rm -f 00*
> 
> I guess this patch would not hurt too much, but the above would
> vastly be improved if you used "-vN" option, instead of the
> hand-rolled subject prefix, and dropped the last "rm -f" (which in
> turn would mean you would want to use -o option to specify where to
> keep the older iterations of the topic).  Then you can easily refer
> to cover letters and patches from previous rounds while preparing
> the latest to send out.
Thanks!

The patch I sent was a modification of previous variant I have. It unfortunately misses undef $compose; line in the first conditional branch.

Besides that I found that --annotate might be a workaround and it comes a burden of editor how to avoid editing every patch but first.

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
Previous: Junio C Hamano
Message 3 of 3 in “send-email: allow to compose only prepared cover letter”
  1. 1/1 send-email: allow to compose only prepared cover letterAndy Shevchenko, Oct 13, 2015
  2. Junio C HamanoOct 13, 2015
  3. Andy ShevchenkoOct 14, 2015

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.