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

Re: [PATCH 2/2] send-email: quote-email quotes the message body

From
Matthieu Moy <matthieu.moy@univ-lyon1.fr>
Date
Nov 1, 2017, 11:12 UTC
Message-ID
<q7h9shdyw8vu.fsf@orange.lip.ens-lyon.fr>
In-Reply-To
<0db6387ef95b4fafbd70068be9e4f7c5@BPMBX2013-01.univ-lyon1.fr>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> Hmmm.  I have a strong suspicion that people want an option to
> trigger the feature from just 1/2 but not 2/2 some of the time.
> Sure, removing the unwanted lines in the compose editor may be easy,
> but it feels wasteful use of user's time to include the lines of
> text from the original only to have them removed.
So, that could be
  git send-email --in-reply-to=message-id  # message-id is not a file
  => existing behavior
  git send-email --in-reply-to=file
  => populate To:, Cc:, In-Reply-To: and References:
  git send-email --in-reply-to=file --quote
  => in addition to the above, include the quoted message in the body

(perhaps --quote should be --cite, I'm not sure which one looks best for a native speaker)

This also leaves room for
  git send-email --in-reply-to=message-id --fetch [--quote]
  => download the message body from e.g. public-inbox and do the same as
     for --in-reply-to=file

(which doesn't have to be implemented now, but would be a nice-to-have in the future)

-- 
Matthieu Moy
https://matthieu-moy.fr/
Previous: Stefan Beller
Message 9 of 9 in “New send-email option --quote-email”
  1. 0/2 New send-email option --quote-emailPayre Nathan, Oct 30, 2017
  2. 1/2 quote-email populates the fieldsPayre Nathan, Oct 30, 2017
  3. Junio C HamanoNov 1, 2017
  4. Nathan PAYRENov 9, 2017
  5. 2/2 send-email: quote-email quotes the message bodyPayre Nathan, Oct 30, 2017
  6. Junio C HamanoNov 1, 2017
  7. Matthieu MoyNov 1, 2017
  8. Stefan BellerNov 1, 2017
  9. Matthieu MoyNov 1, 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.