From: Junio C Hamano Date: Wed, 12 May 2021 03:29:56 GMT Subject: Re: [PATCH v5] git-send-email: use ! to indicate relative path to command Message-ID: In-Reply-To: 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".