send-email: handle Windows paths for display just like we do for processing
commitf3ee35fb1cc9ea27a5e014887f821b5d9fd336fa
authorbert Dvornik <dvornik+git@gmail.com>
Sun, 23 May 2010 07:00:47 +0000 (23 03:00 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 29 Jan 2012 10:57:52 +0000 (29 10:57 +0000)
tree8ce66f58115a375cf328d9cf81529a3dcd0b7620
parent6da809f479d2325562bc335051a66ca3200a8cb7
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