From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id E59A81F5AE for ; Wed, 12 May 2021 03:30:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbhELDbK (ORCPT ); Tue, 11 May 2021 23:31:10 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:62294 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbhELDbI (ORCPT ); Tue, 11 May 2021 23:31:08 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 250601234E5; Tue, 11 May 2021 23:30:01 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=W94nMUs1vx1sXvCgPDvEUccYi0E2Gor9Te2EvM Fc1tc=; b=qG28liVPGSxM60Es/NgEU7t/yIoTGTBIP5RmJrdov/oJ79qmS/nerg XuWRu3prGv7hrMnMlKywZoRzkrODt+/lOf6b5/rtqaDa7NEzLcQJ0jiuZ11Sroay QDW4NphgZeUr+pOBjwrtKfuKQe+XS1AwzpJO04AVj3QitNzJgIC3Y= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id E45D71234E1; Tue, 11 May 2021 23:30:00 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 0F10B1234E0; Tue, 11 May 2021 23:29:57 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Gregory Anders Cc: Jeff King , "brian m. carlson" , git@vger.kernel.org Subject: Re: [PATCH v5] git-send-email: use ! to indicate relative path to command References: <20210511204044.69047-1-greg@gpanders.com> <20210511234935.65147-1-greg@gpanders.com> Date: Wed, 12 May 2021 12:29:56 +0900 In-Reply-To: (Gregory Anders's message of "Tue, 11 May 2021 18:45:58 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 539F4640-B2D2-11EB-855D-E43E2BB96649-77302942!pb-smtp20.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Gregory Anders writes: > We already have sendemail.smtpServerOption to add options: > > [sendemail] > smtpServer = !msmtp > smtpServerOption = -f > smtpServerOption = greg@gpanders.com > > I agree that it's not the prettiest and it's a little annoying to have > to specify the option multiple times, but I thought it worth > mentioning before considering another way to do the same thing. Well, then can't we just scrap this whole topic, like [sendemail] smtpServer = /usr/bin/env smtpServerOption = msmtp would already work without adding '!' support ;-) sendemail.command is also fine; make it invoke the command line via the shell and we can gradually depreate the "server that is an absolute path is the name of a program to talk to the server".