send-email: handle Windows paths for display just like we do for processing
commit2d6fc096e4027eae330124f2dab09b6f0ebf608b
authorbert Dvornik <dvornik+git@gmail.com>
Sun, 23 May 2010 07:00:47 +0000 (23 03:00 -0400)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:41:22 +0000 (29 10:41 +0200)
treeca4234906a4c4e71102a2364266e88731487b1f9
parent775b1e25aed3c8c217a07382f4a85692ea5cdf94
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