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

Re: [PATCH] send-email: do not prompt for In-Reply-To

From
Drew DeVault <sir@cmpwn.com>
Date
Aug 27, 2020, 22:59 UTC
Message-ID
<C585GT9K2V93.4O470Q21FXFD@homura>
In-Reply-To
<xmqqd03bpuh7.fsf@gitster.c.googlers.com>
On Thu Aug 27, 2020 at 6:57 PM EDT, Junio C Hamano wrote:
> To help those who do not want to add this header, it would probably
> be more helpful to tell what to do when prompted (like "you can give
> an empty answer to tell the command that you are not responding to
> any message").

I don't like this solution. We should make it harder to do the wrong thing, and easier to do the right thing.

It would be helpful for git to take an opinionated stance on the right way to send emails with it, since no one else is really in the position to. This behavior has confused many people that I've spoken with and makes for a rough introduction to a tool which people are already loathe to learn. git send-email is really the best way to send emails with git, and will save the user a lot of trouble in the future if they figure it out, so I want it to be as easy to figure out as possible.

Even so, I understand the concerns raised so far. I haven't started on v2 yet, but my rough plan is to add a config option along the lines of sendemail.verbosePrompts, defaulted to on for now, which enables the present-day behavior, along with a message stating the intention to change the behavior in a future release, and an invitation to comment on the mailing list.

The behavior of this flag if set to false would be equivalent to removing the $prompting condition in the if statement which controls whether or not this prompt is shown.

Previous: Junio C HamanoNext: Drew DeVault
Message 15 of 29 in “send-email: do not prompt for In-Reply-To”
  1. send-email: do not prompt for In-Reply-ToDrew DeVault, Aug 27, 2020
  2. Junio C HamanoAug 27, 2020
  3. Junio C HamanoAug 27, 2020
  4. Drew DeVaultAug 27, 2020
  5. Junio C HamanoAug 27, 2020
  6. Drew DeVaultAug 27, 2020
  7. Carlo Marcelo Arenas BelónAug 27, 2020
  8. Drew DeVaultAug 27, 2020
  9. Carlo Marcelo Arenas BelónAug 27, 2020
  10. Junio C HamanoAug 27, 2020
  11. Drew DeVaultAug 27, 2020
  12. Carlo ArenasAug 27, 2020
  13. Carlo Marcelo Arenas BelónAug 27, 2020
  14. Junio C HamanoAug 27, 2020
  15. Drew DeVaultAug 27, 2020
  16. Drew DeVaultAug 27, 2020
  17. Junio C HamanoAug 28, 2020
  18. Drew DeVaultAug 28, 2020
  19. Raymond E. PascoAug 28, 2020
  20. Drew DeVaultAug 28, 2020
  21. Junio C HamanoAug 27, 2020
  22. Drew DeVaultAug 27, 2020
  23. Drew DeVaultAug 28, 2020
  24. Junio C HamanoAug 28, 2020
  25. Drew DeVaultAug 28, 2020
  26. Junio C HamanoAug 28, 2020
  27. Drew DeVaultAug 28, 2020
  28. Raymond E. PascoAug 28, 2020
  29. Drew DeVaultAug 27, 2020

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.