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

Re: [PATCH] send-email: add --compose-cover option

From
Kristoffer Haugsbakk <code@khaugsbakk.name>
Date
Oct 12, 2023, 20:03 UTC
Message-ID
<277a80c5-40c9-4f1e-a68f-96673380012b@app.fastmail.com>
In-Reply-To
<20231012112743.2756259-1-ben.dooks@codethink.co.uk>
Hi Ben
On Thu, Oct 12, 2023, at 13:27, Ben Dooks wrote:
> Adding an option to automatically compose a cover letter would be
> helpful to put the whole process of sending an series with a cover
> into one command.

I didn't manage to apply the patch so I haven't tried it out. Some questions:

1. There is already `--compose` which is clearly different. What's the
   difference between a cover letter an an introduction? That's a more
   immediate question now with two similar-looking options.
2. This would be really useful in `format-patch`. One could write the
   cover letter immediately instead of either (1) editing the generated
   one (placeholders) or (2) providing a file.
   - Personally I don't use `send-email` immediately—I use `format-patch`
     to generate everything so that I can review it before any
     sending. But there are many different workflows.
3. Does this editor only deal with the subject and the message part before
   the diffstat and all the auto-generated stuff? And then it applies it
   after the user closes the editor (to make the complete cover letter)?
-- 
Kristoffer Haugsbakk
Previous: Ben DooksNext: Junio C Hamano
Message 3 of 5 in “send-email: add --compose-cover option”
  1. send-email: add --compose-cover optionBen Dooks, Oct 12, 2023
  2. Ben DooksOct 12, 2023
  3. Kristoffer HaugsbakkOct 12, 2023
  4. Junio C HamanoOct 12, 2023
  5. Kristoffer HaugsbakkOct 12, 2023

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.