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

Re: [PATCH] format-patch: use raw format for notes

From
SBSam Bobroff <sam.bobroff@au1.ibm.com>
Date
Sep 13, 2017, 00:38 UTC
Message-ID
<20170913003821.xn43yosuieoivmqk@tungsten.ozlabs.ibm.com>
In-Reply-To
<CAGZ79kbcufMxbBdH=a9YzPWWet5nEdmUN6P+xmMEcGna-VL9=Q@mail.gmail.com>
On Tue, Sep 12, 2017 at 10:33:37AM -0700, Stefan Beller wrote:
Show 7 quoted lines
> On Sun, Sep 10, 2017 at 9:27 PM, Sam Bobroff <sam.bobroff@au1.ibm.com> wrote:
> 
> > (If only there were a way to set the coverletter text automatically as
> > well...)
> >
> 
> Checkout branch.<name>.description
AH! I had seen this section of the format-patch man page...
       --[no-]cover-letter
           In addition to the patches, generate a cover letter file containing the branch description, shortlog and the overall diffstat. You can fill in a description in the file before
           sending it out.

... but I didn't realize that it meant that it would insert the text from branch.<name>.description into the cover letter. Perhaps there should be a hint to point you to the branch.<name>.description section of "git config"?

Also, it's not very useful for automating patch submission, as it doesn't set the subject line or remove the "*** BLURB HERE ***" marker, so it must still be post-processed.

(To be honest, I was surprised that it didn't use first line as the subject and leave out the markers.)

Cheers, Sam.

Previous: Stefan BellerNext: Jeff King
Message 5 of 6 in “format-patch: use raw format for notes”
  1. format-patch: use raw format for notesSam Bobroff, Aug 28, 2017
  2. Junio C HamanoSep 6, 2017
  3. Sam BobroffSep 11, 2017
  4. Stefan BellerSep 12, 2017
  5. Sam BobroffSep 13, 2017
  6. Jeff KingSep 13, 2017

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.