send-email: handle Windows paths for display just like we do for processing
commit984163566c33de7147c223bc40736fdc4786928f
authorbert Dvornik <dvornik+git@gmail.com>
Sun, 23 May 2010 07:00:47 +0000 (23 03:00 -0400)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 28 Dec 2010 17:56:05 +0000 (28 18:56 +0100)
tree96b12fd5849b7e077a9d29a1550ba4ef1e755c00
parent0ce7ec1abaec68350182e6fd945ebf17ed451ac1
send-email: handle Windows paths for display just like we do for processing

In git-send-email.perl, here are two checks to determine if
$smtp_server is an absolute path (so it'll be treated as a mailer) or
not (so it'll be treated as a hostname).  The one that handles actual
mail processing has been taught to recognize Windows pathnames by
commit 33b2e81f.

The other check is just to tell the user what happened, so it's far
less important, but the current state is that we will still claim to
the user that c:/foo/bar is a server. =)  This makes the second check
consistent with the first.

Signed-off-by: bert Dvornik <dvornik+git@gmail.com>
git-send-email.perl