worktree in config could also be a relative path. #204

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@beeender

This was found during testing the fix for issue #201.
My submodule's worktree is a relative path like "../../../sub".
Hope this fix can handle the window path as well.

Chen Mulong
worktree in config could also be a relative path.
This was found during testing the fix for issue #201.
My submodule's worktree is a relative path like "../../../sub".
Hope this fix can handle the window path as well.

tpope added a commit that referenced this pull request May 18, 2012

Support relative core.worktree
This is based on Chen Mulong's implementation in #204, but uses the same
relative path check as a8d450f, for
better Windows support.
@tpope

This comment has been minimized.

Show comment Hide comment
@tpope

tpope May 18, 2012

Owner

I tweaked this a bit to support Windows. Thanks!

Owner

tpope commented May 18, 2012

I tweaked this a bit to support Windows. Thanks!

@tpope tpope closed this May 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment