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

Tracking branch is not updated on 'R'/refresh #1015

Closed
hoxu opened this issue Jun 3, 2020 · 0 comments · Fixed by #1020
Closed

Tracking branch is not updated on 'R'/refresh #1015

hoxu opened this issue Jun 3, 2020 · 0 comments · Fixed by #1020
Labels

Comments

@hoxu
Copy link

hoxu commented Jun 3, 2020

Steps to reproduce:

git init --bare remote.git
git clone remote.git tig
cd tig
git commit --allow-empty -m 'Initial commit'
git push -u
git checkout -b feature
git commit --allow-empty -m 'Feature'
git push -u origin feature
# start "tig status" in another terminal
git checkout master
# Press 'R' in tig, you see: "On branch master. Your branch is behind 'origin/feature' by 1 commit."

In other words, tig shows status for wrong tracking branch if the branch is changed from another terminal.

$ tig --version
tig version 2.5.1
ncurses version 5.7.20081102
readline version 8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants