send-email: handle Windows paths for display just like we do for processing
commitde9e09338a43db08cc93f2d83df818055d0211a6
authorbert Dvornik <dvornik+git@gmail.com>
Sun, 23 May 2010 07:00:47 +0000 (23 03:00 -0400)
committerStepan Kasal <kasal@ucw.cz>
Wed, 16 Apr 2014 14:32:24 +0000 (16 16:32 +0200)
tree1abaa1e5411b018ccc3129357d34f21a1c2541c0
parent24cb1c5af4d9f12299a8d472da881c7c1e14b895
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