Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork960
Fix broken worktree path with submodules on Windows#276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Byron commentedApr 7, 2015
Thank you. Then I'd be glad to merge and release it this week. Thanks again. |
On Windows, `repo.create_submodule(...)` failed because git didn't recognizethe worktree path set in `.git/modules/sub/config` (`fatal: bad config fileline 6 in ./config`). This commit makes `_write_git_file_and_module_config`convert the worktree path to the linux format (forward slashes) which gitrecognizes.
msiemens commentedApr 7, 2015
Sure! I've updated the PR now. The Travis tests failed, but it doesn't seem to be related to this change. |
Fix broken worktree path with submodules on Windows
Byron commentedApr 7, 2015
Indeed, the other travis issue will be on my plate. |
msiemens commentedApr 7, 2015
That was quick! Thanks,@Byron! |
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 resulted in the following traceback:This PR makes
_write_git_file_and_module_configconvert the worktree path to the linux format (forward slashes) which git recognizes.