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

Git branch persists even after buffer change #37

Closed
coxackie opened this issue Jan 7, 2021 · 3 comments · Fixed by #48
Closed

Git branch persists even after buffer change #37

coxackie opened this issue Jan 7, 2021 · 3 comments · Fixed by #48
Labels
bug Something isn't working

Comments

@coxackie
Copy link

coxackie commented Jan 7, 2021

Suppose I open a buffer and the file is at a git folder. The branch is displayed, which is good.

Now, I switch to another buffer with a file at another folder that is not (and neither its parents are) git-controlled. The git branch from the previous buffer will persist on the status line for the new buffer. Even if I close the previous buffer, the git branch persists.

Not sure what the issue is; maybe something about async?

@hoob3rt
Copy link
Contributor

hoob3rt commented Jan 7, 2021

Nice catch, this is also an issue with the signify component but I think these are two different bugs, I will try to fix this tomorrow.

@hoob3rt hoob3rt added the bug Something isn't working label Jan 7, 2021
@hoob3rt hoob3rt linked a pull request Jan 8, 2021 that will close this issue
@hoob3rt
Copy link
Contributor

hoob3rt commented Jan 8, 2021

Should be fixed :)

@coxackie
Copy link
Author

coxackie commented Jan 8, 2021

thanks, looks good, indeed. If there is any issue, I will report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants