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

Commit6df6d41

Browse 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 parentb50b960 commit6df6d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/repo/fun.py

Lines 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
ifnotosp.isabs(path):
89-
path=osp.join(osp.dirname(d),path)
89+
path=osp.normpath(osp.join(osp.dirname(d),path))
9090
returnfind_submodule_git_dir(path)
9191
# end handle exception
9292
returnNone

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp