-
-
Notifications
You must be signed in to change notification settings - Fork 247
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 crash when looking for updates of this plugin via lazy #1068
Comments
Oh okay.. I'd be a bit surprised if it was caused by a branch-name, but I'll delete it just in case, it's old anyway. |
I can repro it each time I check for a new version. It's a single button press. |
I've deleted the branch in question, does it still occur? |
I just checked again on the Windows machine and it does still occur. Even after completely fresh checkout. The initial clone, including submodule works. Just checking for updates fails. I'll have a look later on the Linux machine. |
I know this really isn't a satisfying solution, it doesn't help you prevent it from happening again, but: Placing your cursor over LuaSnip and pressing So basically, have you tried turning it off and on again? EDIT: I'm sorry I think my error might actually be more related to #1071 then this one, I should have looked harder, sorry. |
@ZeekDaGeek I did that already and that does allow updating. Though my problem is that I'd have to do that every time just to check for updates. |
For whatever its worth, this is happening to me as well. |
reinstalling the plugin with x I on lazy fixed this. |
As already stated before it allows you to do the update once, but it does not fix the underlying issue of the check for updates failing. |
Update via reinstall due to * L3MON4D3/LuaSnip#1068 * folke/lazy.nvim#1204
Ultimately we found a workaround in the lazy thread: folke/lazy.nvim#1204 (comment) I tested it myself and it prevents the error from occurring. Closing this. |
When I recently tried to check for updates of this plugin via lazy, git crashes on the first attempt, then fails on a second attempt because of a lock file that has not been cleaned up. The lock file in question is
.git/objects/info/commit-graphs/commit-graph-chain.lock
My hunch is, this is because of the branch named
windows-😐
.I've had this happen on both Windows and Linux, both running git version 2.43.0. The only place where it didn't happen was in WSL, where git is of version 2.34.1.
Here is the related Lazy issue: folke/lazy.nvim#1204
The text was updated successfully, but these errors were encountered: