Git development
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: git <git@vger.kernel.org>
Subject: git-send-email, prompt for Message-ID: bug or feature?
Date: Thu, 07 Jan 2010 17:59:32 +0100	[thread overview]
Message-ID: <vpqr5q1lukr.fsf@bauges.imag.fr> (raw)

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/

                 reply	other threads:[~2010-01-07 17:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqr5q1lukr.fsf@bauges.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox