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

git-send-email, prompt for Message-ID: bug or feature?

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jan 7, 2010, 16:59 UTC
Message-ID
<vpqr5q1lukr.fsf@bauges.imag.fr>
Hi,
When I send a mail with
  git send-email -s --to git@vger.kernel.org --annotate -1

I normally get prompted for my from address, and then "Message-ID to be used as In-Reply-To for the first email?".

If I set sendemail.from to avoid the first question, then the same question doesn't ask for a Message-ID anymore.

This behavior seems to have been introduced here:
  commit 1f038a0c31e06e7a248be0990549ac717399c540
  Author:	Ryan Anderson <ryan@michonline.com>  Mon Sep  5 07:13:07 2005
  Committer:	Junio C Hamano <junkio@cox.net>  Mon Sep  5 08:33:17 2005
  
  [PATCH] Make git-send-email-script ignore some unnecessary options when operating in batch mode.
  
  Add a "--compose" option that uses $EDITOR to edit an "introductory" email to the patch series.

I understand the need to be possibly non-interactive, but how does one get git send-email ask just one question for the Message-ID, and skip the others?

Thanks,
  
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Message 1 of 1 in “git-send-email, prompt for Message-ID: bug or feature?”
  1. Matthieu MoyJan 7, 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.