summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@googlemail.com>2014-04-16 10:08:18 +0200
committerJunio C Hamano <gitster@pobox.com>2014-04-16 11:51:16 -0700
commitcb005c1fdf814d3b65b5b43f5f4fa25aa1bcdf46 (patch)
treefaae99344aaf3b4cc5f24e865a22dd09c733e431 /wt-status.h
parent0bc85abb7aa9b24b093253018801a0fb43d01122 (diff)
downloadgit-cb005c1fdf814d3b65b5b43f5f4fa25aa1bcdf46.tar.gz
send-email: recognize absolute path on Windows
On Windows, absolute paths might start with a DOS drive prefix, which these two checks failed to recognize. Unfortunately, we cannot simply use the file_name_is_absolute helper in File::Spec::Functions, because Git for Windows has an MSYS-based Perl, where this helper doesn't grok DOS drive-prefixes. So let's manually check for these in that case, and fall back to the File::Spec-helper on other platforms (e.g Win32 with native Perl) Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
0 files changed, 0 insertions, 0 deletions