-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
fatal: Unable to create '/path/.git/index.lock': File exists. #9
Comments
Thank you for that. |
By bumping gitstatus to v0.4.2 we're now calling git with GIT_OPTIONAL_LOCKS set to 0, ensuring gitstatus does not lock the working tree for its operations, effectively giving higher priority to user-initiated operations. This is useful when gitmux is run in the background. Fixes #9
This is fixed in the latest release |
@arl Yes, I got it when you closed this issue with new commit, thanks. |
After using gitmux in tmux, from time to time, a problem occurs to me:
I think this is because git is kept running in the background inside gitmux with tmux.
and I used an script before using gitmux:
https://github.com/c02y/dotfiles/blob/5cbcbda2d49d0f0458fc404b57c5ab0fbd9def7a/bin/.local/bin/pane-border-format.sh#L50
I use
--no-optional-locks
forgit
command in that script to avoid this problem, could you please fix this issue.The text was updated successfully, but these errors were encountered: