-
Notifications
You must be signed in to change notification settings - Fork 155
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
Wrong git branch is displayed when using a linked git worktree #47
Comments
In any fix, is it worth using the plumbing commands (instead of parsing the gitdir contents directly) to make sure this is also more future-proof? |
bacar
changed the title
Displays wrong git branch with git worktrees
wrong git branch is displayed when using a linked git worktree
Dec 10, 2018
bacar
changed the title
wrong git branch is displayed when using a linked git worktree
Wrong git branch is displayed when using a linked git worktree
Dec 10, 2018
The problem seems to be with this line in
This probably works for submodules (which seem to put a relative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using git worktrees, the git branch displayed in a prompt when in a linked worktree is incorrect - it displays the current branch from the main worktree.
The text was updated successfully, but these errors were encountered: