send-email: handle Windows paths for display just like we do for processing
commitcc1074a3f0452539aad0c102943e34aa1d4f1fd7
authorbert Dvornik <dvornik+git@gmail.com>
Sun, 23 May 2010 07:00:47 +0000 (23 03:00 -0400)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 30 Dec 2013 01:17:59 +0000 (29 19:17 -0600)
tree28e4fef4010851ff4161ff0fc4dc2b0c7aefe8fb
parent09db1f0c91670947dbdd1e24c7f0ff17b7261913
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