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

AutoComplete: Run git-status without locks #11030

Merged

Conversation

gerhardol
Copy link
Member

Fixes #11029
Fixes #10499

Proposed changes

AutoComplete: Run git-status without locks
index can be locked by other Git clients, failing to get a lock should not be an exception in this case.

Other possible improvements:

  • Try git-status a second time if locks fail
  • Cache git-status - not much point in rerunning for each file (some handling due to index/worktree required).

Test methodology

Manual

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned gerhardol Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants