Skip to content

Commit

Permalink
Fix wording of comment about the /cygdrive prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Mar 31, 2024
1 parent 5364053 commit 83bed19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/repo/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def find_submodule_git_dir(d: PathLike) -> Optional[PathLike]:
path = content[8:]

if Git.is_cygwin():
# Cygwin creates submodules prefixed with `/cygdrive/...` suffixes.
# Cygwin creates submodules prefixed with `/cygdrive/...`.
# Cygwin git understands Cygwin paths much better than Windows ones.
# Also the Cygwin tests are assuming Cygwin paths.
path = cygpath(path)
Expand Down

0 comments on commit 83bed19

Please sign in to comment.