summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
authorMarkus Siemens <siemens1993@gmail.com>2015-04-07 14:33:39 +0200
committerMarkus Siemens <siemens1993@gmail.com>2015-04-07 15:36:49 +0200
commit1c2502ee83927437442b13b83f3a7976e4146a01 (patch)
tree3309fd315d8802ad984fa564da1e0f94123d3b62 /git/cmd.py
parentbe81304f2f8aa4a611ba9c46fbb351870aa0ce29 (diff)
downloadgitpython-1c2502ee83927437442b13b83f3a7976e4146a01.tar.gz
Fix problem with submodules on Windows
On Windows, `repo.create_submodule(...)` failed because git didn't recognize the worktree path set in `.git/modules/sub/config` (`fatal: bad config file line 6 in ./config`). This commit makes `_write_git_file_and_module_config` convert the worktree path to the linux format (forward slashes) which git recognizes.
Diffstat (limited to 'git/cmd.py')
0 files changed, 0 insertions, 0 deletions