Skip to contentSkip to conversation

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

DISCUSSION Matthieu Moy 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

When I send a mail with

  git send-email -s --to [email protected] --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 <[email protected]> Mon Sep 5 07:13:07 2005
Committer: Junio C Hamano <[email protected]> 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,

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/