Thread (1 message) 1 message, 1 author, 2021-05-12

Re: [PATCH v5] git-send-email: use ! to indicate relative path to command

From: Junio C Hamano <hidden>
Date: 2021-05-12 03:30:04

Gregory Anders [off-list ref] 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".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help