Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 775b1e2

Browse files
kusmakasal
authored andcommitted
send-email: accept absolute path even on Windows
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ec765f6 commit 775b1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-send-email.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ sub send_message {
11971197

11981198
if ($dry_run) {
11991199
# We don't want to send the email.
1200-
} elsif ($smtp_server =~ m#^/#) {
1200+
} elsif ($smtp_server =~ m#^/# || $smtp_server =~ m#[a-zA-Z]\:#) {
12011201
my $pid = open my $sm, '|-';
12021202
defined $pid or die $!;
12031203
if (!$pid) {

0 commit comments

Comments
 (0)