send-email: handle Windows paths for display just like we do for processing
commit0237c52566eb4ddf4bc6a480313fae2631d8426a
authorbert Dvornik <dvornik+git@gmail.com>
Sun, 23 May 2010 07:00:47 +0000 (23 03:00 -0400)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 1 Jun 2011 10:51:19 +0000 (1 12:51 +0200)
treee0645c26a89aae756ffe18227b38ecc1c71a8c0c
parent5e8aef6505e4fb420ce4565bbc748dfe36c5a42c
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