diff options
-rw-r--r-- | git/repo/fun.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/fun.py b/git/repo/fun.py index 6aefd9d6..5a47fff3 100644 --- a/git/repo/fun.py +++ b/git/repo/fun.py @@ -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 |