mirror of
https://github.com/git/git.git
synced 2026-02-07 00:05:02 +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
Stepan Kasal
parent
ec765f62e2
commit
775b1e25ae
@@ -1197,7 +1197,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