Skip to content

Re-enable Cygwin CI and get most tests passing #1455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jun 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
BUG: Fix is_cygwin_git to return True on Cygwin.
  • Loading branch information
DWesl authored Jun 10, 2022
commit 96fae83e36c67f90d6c3da64a936a06a0966e981
4 changes: 3 additions & 1 deletion git/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down