Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for git-worktree #559

Merged
merged 1 commit into from
Feb 18, 2018
Merged

Add support for git-worktree #559

merged 1 commit into from
Feb 18, 2018

Conversation

sds
Copy link
Owner

@sds sds commented Feb 18, 2018

Main reason we didn't previously support work trees was because we had assumed that the .git directory was always located in the repository root. With separate work trees, this is not necessarily the case.

Add support by using Git commands to fetch the location of the GIT_DIR instead of trying to determine it ourself.

Main reason we didn't previously support work trees was because we had
assumed that the `.git` directory was always located in the repository
root. With separate work trees, this is not necessarily the case.

Add support by using Git commands to fetch the location of the GIT_DIR
instead of trying to determine it ourself.
@sds sds merged commit 10c2080 into master Feb 18, 2018
@sds sds deleted the worktree branch February 18, 2018 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant