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

Commitf1a7e02

Browse files
authored
Merge pull request#1890 from EliahKagan/pathext
Fix typo in _get_exe_extensions PATHEXT fallback
2 parents5364053 +988d97b commitf1a7e02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎git/repo/fun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def find_submodule_git_dir(d: PathLike) -> Optional[PathLike]:
112112
path=content[8:]
113113

114114
ifGit.is_cygwin():
115-
# Cygwin creates submodules prefixed with `/cygdrive/...` suffixes.
115+
# Cygwin creates submodules prefixed with `/cygdrive/...`.
116116
# Cygwin git understands Cygwin paths much better than Windows ones.
117117
# Also the Cygwin tests are assuming Cygwin paths.
118118
path=cygpath(path)

‎git/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def _get_exe_extensions() -> Sequence[str]:
339339
ifPATHEXT:
340340
returntuple(p.upper()forpinPATHEXT.split(os.pathsep))
341341
elifsys.platform=="win32":
342-
return (".BAT","COM",".EXE")
342+
return (".BAT",".COM",".EXE")
343343
else:
344344
return ()
345345

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp