Re: git-send-email: smtpserver in $HOME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 16, 2021 at 11:16:18AM -0800, Junio C Hamano wrote:

> Jeff King <peff@xxxxxxxx> writes:
> 
> > Sure, but you cannot say "does it refer to a local file" for a
> > non-absolute path.
> 
> Hmph, why not?  I would expect that this would work as a valid way
> 
> 	$ git send-email --smtp-server=./my-phoney-smtp
> 
> to test a server substitute (perhaps for testing).  The only reason
> why it does not is because file_name_is_absolute() check would not
> like it.

Ah, sure. But you cannot say "my-phoney-smtp" and find it in the PATH,
because it is syntactically indistinguishable from a host with the same
name.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux