git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jay Soffian <jaysoffian@gmail.com>,
	git@vger.kernel.org, Nanako Shiraishi <nanako3@lavabit.com>,
	Paul Gortmaker <paul.gortmaker@windriver.com>
Subject: Re: [PATCH v3] send-email: add --confirm option and configuration  setting
Date: Tue, 3 Mar 2009 19:05:47 +0100	[thread overview]
Message-ID: <36ca99e90903031005g3d54436cs486133a340c1eec1@mail.gmail.com> (raw)
In-Reply-To: <7vvdqqblij.fsf@gitster.siamese.dyndns.org>

On Tue, Mar 3, 2009 at 17:48, Junio C Hamano <gitster@pobox.com> wrote:
> Jay Soffian <jaysoffian@gmail.com> writes:
>
>> On Tue, Mar 3, 2009 at 6:54 AM, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
>>> On Tue, Mar 3, 2009 at 05:52, Jay Soffian <jaysoffian@gmail.com> wrote:
>>>> diff --git a/git-send-email.perl b/git-send-email.perl
>>>> index adf7ecb..57127aa 100755
>>>> --- a/git-send-email.perl
>>>> +++ b/git-send-email.perl
>>>> @@ -837,6 +837,37 @@ X-Mailer: git-send-email $gitversion
>>>>        unshift (@sendmail_parameters,
>>>>                        '-f', $raw_from) if(defined $envelope_sender);
>>>>
>>>> +       if ($needs_confirm && !$dry_run) {
>>> So, the output is now differnt with and without --dry-run?
>>
>> There doesn't seem to be any point in having the user confirm before
>> sending the message if the message is not actually going to be sent.
>> Am I missing something?
>
> I do not think you are missing anything.
>
> IIRC, the --dry-run mode shows more clearly to whom you would be CC'ing
> the messages; in other words, the behaviour would be different, but it
> gives an uninteractive way to confirm, and not pausing for confirmation is
> a good thing.
>
Just to clarify: A user who runs a --dry-run before every sending
(like me) would check the Cc list anyway (like me), so he either would
have sendmail.confirm=never in the config, so that he will not
bothered by send-email while sending or he sees some Cc's that he
don't want and can remove them in the sending process.

Ok, than I'm fine with this.

Regards,
Bert

  reply	other threads:[~2009-03-03 18:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-01  8:23 [PATCH] send-email: add --confirm option Jay Soffian
2009-03-01  9:03 ` Junio C Hamano
2009-03-01 14:05   ` Jay Soffian
2009-03-01 16:17   ` [PATCH v2] " Jay Soffian
2009-03-01 17:09     ` Paul Gortmaker
2009-03-01 17:49       ` Jay Soffian
2009-03-02  8:24         ` Nanako Shiraishi
2009-03-02  9:01           ` Junio C Hamano
2009-03-02  9:23             ` Nanako Shiraishi
2009-03-02 10:35             ` Felipe Contreras
2009-03-02 12:33           ` Jay Soffian
2009-03-02  7:34     ` Junio C Hamano
2009-03-02 12:35       ` Jay Soffian
2009-03-03  2:47     ` Junio C Hamano
2009-03-03  4:52       ` [PATCH v3] send-email: add --confirm option and configuration setting Jay Soffian
2009-03-03  6:53         ` Junio C Hamano
2009-03-03 10:11         ` Nanako Shiraishi
2009-03-03 11:54         ` Bert Wesarg
2009-03-03 16:22           ` Jay Soffian
2009-03-03 16:48             ` Junio C Hamano
2009-03-03 18:05               ` Bert Wesarg [this message]
2009-03-03 18:18                 ` Jay Soffian

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=36ca99e90903031005g3d54436cs486133a340c1eec1@mail.gmail.com \
    --to=bert.wesarg@googlemail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=jaysoffian@gmail.com \
    --cc=nanako3@lavabit.com \
    --cc=paul.gortmaker@windriver.com \
    /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;
as well as URLs for NNTP newsgroup(s).