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 stuck after Ctrl-z, changing to another branch and returning to Helix with f-g-enter #9400

Closed
ITViking opened this issue Jan 22, 2024 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@ITViking
Copy link

Summary

When I Ctrl-z inside Helix and go to the terminal to interact with git and then at some point change to another branch and return back to Helix with f-g-enter, the branch inside helix doesn't match the branch I just changed to

Reproduction Steps

  1. Open a file in helix
  2. Ctrl -z out of helix
  3. change branch via git commandline
  4. f-g-enter to reenter helix
  5. Branch hasen't changed to the new branch

Helix log

No response

Platform

Linux/Ubuntu

Terminal Emulator

Standard Ubuntu terminal

Installation Method

Cargo

Helix Version

helix 23.10 (f6021dd)

@ITViking ITViking added the C-bug Category: This is a bug label Jan 22, 2024
@pascalkuthe
Copy link
Member

Duplicate of #4994

Any git related informationen is only updated on :reload. We need a file watcher to watch .git/HEAD for changes.

Any competent file watcher will catchup after c-z

@pascalkuthe pascalkuthe closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants