threads / bug / 22116

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

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

## tl;dr

One message between Jan 7, 2010 and Jan 7, 2010.

replies: 0people: 1as markdown or json

Matthieu Moy· Jan 7, 2010, 16:59 UTC · lore
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/

← back to recent threads