Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
normalize path after joining submodule path and the relative path to …
…the git dir, to eliminate path length errors on Windows
  • Loading branch information
joesavage-silabs committed May 21, 2019
commit 7cc1f08aa3a303a91eff8a4f80456a7d3460c866
2 changes: 1 addition & 1 deletion git/repo/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def find_submodule_git_dir(d):
## Cygwin creates submodules prefixed with `/cygdrive/...` suffixes.
path = decygpath(path)
if not osp.isabs(path):
path = osp.join(osp.dirname(d), path)
path = osp.normpath(osp.join(osp.dirname(d), path))
return find_submodule_git_dir(path)
# end handle exception
return None
Expand Down