-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 Gutter is not updated after a git commit #4994
Comments
This is a limitation in order to keep the initial PR scoped, but you can manually update it via |
As @kirawi pointed out this is an intentional limitation of the current implementation as implementation file watching is challenging (and also has some other prerequisites like caching git repos) and therefore was too much to bundle with the initial implementation. I will be writing a poper tracking issue for my plans in that regard soon and close this issue then |
This is mainly used as a workaround to update the git gutter: helix-editor/helix#4994
I've just come up with a workaround using WezTerm: #2261 (comment). |
Is it possible to get helix to automatically call |
@sidequestboy You can do that by introducing a new configuration option |
I have made a script to do this using "tmux" (set-hook). tmux.conf
helix-lazygit
helix-reload.sh
|
@kirawi Hello. Is there any progress outlining this issue in more general terms? I guess this might be helpful, maybe someone else would be willing to work on this issue given a proper outline. |
Summary
The UI of the new Git Gutter is not updated at git changes, such as a:
Reproduction Steps
I tried this:
hx
git commit -am "my changes"
in a new terminalI expected this to happen:
UI is updated
Instead, this happened:
Git diff remains unchanged
Only after a hx
:reload
of the file the ui ist updatedHelix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
Kitty
Helix Version
helix 22.08.1 (bcdb475)
The text was updated successfully, but these errors were encountered: