From: Michael Witten Date: Mon, 13 Apr 2009 22:42:45 GMT Subject: Re: [PATCH RFC3 05/13] send-email: Cleanup the usage text and docs a bit Message-ID: In-Reply-To: <7vhc0se0pc.fsf@gitster.siamese.dyndns.org> On Mon, Apr 13, 2009 at 15:51, Junio C Hamano wrote: > Michael Witten writes: > >> All usage text lines should be < 80 characters. >> >> A port number in --smtp-server is no longer handled, >> so the suggestion has been removed. > > That makes it sound like there is a regression. > >        require Net::SMTP; >        $smtp ||= Net::SMTP->new((defined $smtp_server_port) >                                 ? "$smtp_server:$smtp_server_port" >                                 : $smtp_server); > > and because Net::SMTP is a subclass of IO::Socket::INET, I'd assume that > this use will accept smtp_server=there:submission when $smtp_server_port > is undef. I may have been concerned that the SSL connection code doesn't support a host:port specification, so I thought it would be easier not to advertise it: > if ($smtp_encryption eq 'ssl') { > $smtp_server_port ||= 465; # ssmtp > require Net::SMTP::SSL; > $smtp ||= Net::SMTP::SSL->new($smtp_server, Port => $smtp_server_port); > } >> ---in-reply-to=:: >> +--in-reply-to=:: > > Changes along this line in your patch looked sensible, except for the > "identity" one which is a bit iffy. The change to ? Well, I did so, because the usage text uses for compactness; I think everything else matches.