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

1 messages from 2010-01-07 to 2010-01-07. Participants: Matthieu Moy.
Thread: https://gitlist.dev/t/22116

## Matthieu Moy, 2010-01-07 16:59

Subject: git-send-email, prompt for Message-ID: bug or feature?
Message-ID: <vpqr5q1lukr.fsf@bauges.imag.fr>
URL: https://gitlist.dev/e/vpqr5q1lukr.fsf%40bauges.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/

```
