Content-Length: 258179 | pFad | https://github.com/gitpython-developers/GitPython/commit/3f5a942be8293bb8c663631756885f877afc22e7

A4 don't keep checking if sys.platform isn't 'cygwin' · gitpython-developers/GitPython@3f5a942 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/gitpython-developers/GitPython/commit/3f5a942be8293bb8c663631756885f877afc22e7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy