Skip to content

Commit 3f5a942

Browse files
committed
don't keep checking if sys.platform isn't 'cygwin'
1 parent 7187984 commit 3f5a942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def is_cygwin_git(git_executable: PathLike) -> bool: ...
490490

491491

492492
def is_cygwin_git(git_executable: Union[None, PathLike]) -> bool:
493-
if sys.platform == "win32": # TODO: See if we can use `sys.platform != "cygwin"`.
493+
if sys.platform != "cygwin":
494494
return False
495495
elif git_executable is None:
496496
return False

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy