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

fix(watcher): watch gitdir instead if index #378

Merged
merged 1 commit into from
Sep 24, 2021
Merged

Conversation

lewis6991
Copy link
Owner

Some git command likes git checkout -b do no update .git/index.
Instead watch the git dir itself to capture all git operations.

Renamed config.watch_index -> config.watch_gitdir

Fixes #377

Some git command likes `git checkout -b` do no update .git/index.
Instead watch the git dir itself to capture all git operations.

Renamed config.watch_index -> config.watch_gitdir

Fixes #377
@lewis6991 lewis6991 merged commit 489fe08 into main Sep 24, 2021
@lewis6991 lewis6991 deleted the gitdir_watcher branch September 24, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

b:gitsigns_head is not updated after checkout -b from Neovim's command line
1 participant