Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.4
Operating system/version
Ubuntu 22.04
Describe the bug
If you modify files in a git repo, the explorer puts nice icon indicators to let you know the state of the file. If you commit changes with the git cli directly or use a tool like gitui to commit files then the explorer will show an icon that a file was changed and this only goes away after closing + opening the explorer or individually saving the associated file in Neovim even if the contents didn't change.
Here's a screenshot where I used the git CLI to commit changes to a few files:

This occurs even when using gitui that was invoked directly inside of Neovim such as when using LazyVim which optionally sets things up to use it within Neovim in a floating window.
With that said, in a way it's almost a feature to know that the state of a file changed externally and now you need to take an action to clear it so feel free to close this if that behavior is intended.
Steps To Reproduce
- Create a git repo
- Add files and commit files
- Open Neovim
- Toggle the explorer open
- Modify one of the files and save it
- Use the git CLI to create the commit
- Notice the icon in the explorer window next to the file
- Save the file in Neovim even with no changes
- Notice the icon in the explorer window goes away
Expected Behavior
Steps 7 and 8 in the above workflow wouldn't be needed to get the explorer to reflect the state of the file.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.4
Operating system/version
Ubuntu 22.04
Describe the bug
If you modify files in a git repo, the explorer puts nice icon indicators to let you know the state of the file. If you commit changes with the git cli directly or use a tool like gitui to commit files then the explorer will show an icon that a file was changed and this only goes away after closing + opening the explorer or individually saving the associated file in Neovim even if the contents didn't change.
Here's a screenshot where I used the git CLI to commit changes to a few files:
This occurs even when using gitui that was invoked directly inside of Neovim such as when using LazyVim which optionally sets things up to use it within Neovim in a floating window.
With that said, in a way it's almost a feature to know that the state of a file changed externally and now you need to take an action to clear it so feel free to close this if that behavior is intended.
Steps To Reproduce
Expected Behavior
Steps 7 and 8 in the above workflow wouldn't be needed to get the explorer to reflect the state of the file.