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

Appearance settings

Commit 6df6d41

Browse filesBrowse files
joesavage-silabsByron
authored andcommitted
normalize path after joining submodule path and the relative path to the git dir, to eliminate path length errors on Windows
1 parent b50b960 commit 6df6d41
Copy full SHA for 6df6d41

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎git/repo/fun.py

Copy file name to clipboardExpand all lines: git/repo/fun.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def find_submodule_git_dir(d):
8686
## Cygwin creates submodules prefixed with `/cygdrive/...` suffixes.
8787
path = decygpath(path)
8888
if not osp.isabs(path):
89-
path = osp.join(osp.dirname(d), path)
89+
path = osp.normpath(osp.join(osp.dirname(d), path))
9090
return find_submodule_git_dir(path)
9191
# end handle exception
9292
return None

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.