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

git send-email should always ask for in-reply-to

From
ASAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Date
Jun 1, 2010, 14:41 UTC
Message-ID
<201006011641.12401.alexander.stein@informatik.tu-chemnitz.de>
Hi,

i currently have the problem that, if I set sendemail.from and sendemail.to in git-config (from global and to project-specific but that doesn't matter) git send-email doesn't ask me for a in-reply-to message-ID. I set these 2 config options for convenience. But i also want to specify a message-id after calling git send-email to get a proper thread on the mailing list. I dived into git-send-email.perl and found $prompting which is only != 0 if $sender or @to isn't already set (lines 672-685). On line 706-709 there are some check whether $initial_reply_to should be asked or not. If $prompting is sitll 0 $initial_reply_to will not be asked. In my opinion git send-email should always ask for in-reply-to. I know there is --in-reply-to option but this keeps me from using the git command from shell history as i have to modify the parameter each time.

What do you think about it? Best regards Alexander

Next: Matthieu Moy
Message 1 of 8 in “git send-email should always ask for in-reply-to”
  1. Alexander SteinJun 1, 2010
  2. Matthieu MoyJun 1, 2010
  3. send-email: Ask for in-reply message ID even if from and to is already knownAlexander Stein, Jun 1, 2010
  4. Alexander SteinJun 10, 2010
  5. Ævar Arnfjörð BjarmasonJun 10, 2010
  6. Junio C HamanoJun 11, 2010
  7. Alexander SteinJun 11, 2010
  8. Matthieu MoyJun 10, 2010

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.