Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f5a942

Browse files
committed
don't keep checking if sys.platform isn't 'cygwin'
1 parent7187984 commit3f5a942

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
defis_cygwin_git(git_executable:Union[None,PathLike])->bool:
493-
ifsys.platform=="win32":# TODO: See if we can use `sys.platform!= "cygwin"`.
493+
ifsys.platform!="cygwin":
494494
returnFalse
495495
elifgit_executableisNone:
496496
returnFalse

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp