diff options
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git/util.py b/git/util.py index 11139156..e55f15d3 100644 --- a/git/util.py +++ b/git/util.py @@ -377,7 +377,9 @@ def is_cygwin_git(git_executable: PathLike) -> bool: def is_cygwin_git(git_executable: Union[None, PathLike]) -> bool: - if not is_win: + if is_win: + # is_win seems to be true only for Windows-native pythons + # cygwin has os.name = posix, I think return False if git_executable is None: |