mirror of
https://github.com/git/git.git
synced 2026-01-17 06:13:11 +00:00
send-email: accept absolute path even on Windows
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Erik Faye-Lund
parent
c1c7c77ab9
commit
33b2e81f84
@@ -984,7 +984,7 @@ X-Mailer: git-send-email $gitversion
|
||||
|
||||
if ($dry_run) {
|
||||
# We don't want to send the email.
|
||||
} elsif ($smtp_server =~ m#^/#) {
|
||||
} elsif ($smtp_server =~ m#^/# || $smtp_server =~ m#[a-zA-Z]\:#) {
|
||||
my $pid = open my $sm, '|-';
|
||||
defined $pid or die $!;
|
||||
if (!$pid) {
|
||||
|
||||
Reference in New Issue
Block a user