diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-07 05:47:39 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-07 05:47:39 +0200 |
commit | bb2feec17f49e93e0b983c5d895b2bf590ff92f3 (patch) | |
tree | 7bc1000205cfeda64891c23069dd196deabbb85d /read-cache.c | |
parent | Merge branch 'jz/apply-3way-first-message-fix' (diff) | |
parent | cygwin: disallow backslashes in file names (diff) | |
download | git-bb2feec17f49e93e0b983c5d895b2bf590ff92f3.tar.xz git-bb2feec17f49e93e0b983c5d895b2bf590ff92f3.zip |
Merge branch 'ad/cygwin-no-backslashes-in-paths'
Cygwin pathname handling fix.
* ad/cygwin-no-backslashes-in-paths:
cygwin: disallow backslashes in file names
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c index 72a1d339c9..eb66fddb1b 100644 --- a/read-cache.c +++ b/read-cache.c @@ -1011,7 +1011,7 @@ inside: } } if (protect_ntfs) { -#ifdef GIT_WINDOWS_NATIVE +#if defined GIT_WINDOWS_NATIVE || defined __CYGWIN__ if (c == '\\') return 0; #endif |