-
Notifications
You must be signed in to change notification settings - Fork 616
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
tig status and git-worktree #437
Comments
I've never used Tig with git-worktree. Can you help coming up with a shell On Fri, Sep 4, 2015 at 4:27 PM, stenja notifications@github.com wrote:
Jonas Fonseca |
Sure
The expected output would be:
But instead I see:
Pressing R or F5 corrects it, showing "On branch dev" with no staged files Similarly, just running "tig" for the main view, there is no "Staged changes" or "Unstaged changes" bubble like there normally is, even if you make changes |
Thanks. From
... which causes the status view to use:
instead of:
for listing staged files. |
tig status doesn't seem to be playing nicely with the new git worktree features. From a worktree, git status shows every file in the repository as staged, with the branch listed as "Initial commit". If you refresh the view with F5 or R, it corrects itself and shows the correct branch and correct modified/staged files.
Similarly, the log view in tig does not have the staged and unstaged changes entries. Refreshing the log view does not fix it like it does with the status view.
I'm using tig version 2.1.1-67-g65cb5b4 with git 2.6.0-rc0. I see the exact same behavior in windows using git 2.5.0.windows.1 and tig 2.1.1-48-geecfbda (compiled in cygwin)
The text was updated successfully, but these errors were encountered: