-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Failed to compare with the origin when PlugClean. #1283
Comments
Can you test this command in one of the plugin's directory? (e.g. git rev-list --count --left-right HEAD...origin/master
# or this if the default branch is main
git rev-list --count --left-right HEAD...origin/main |
Command output in coc directory: PS C:/.../nvim-data/plugged/coc.nvim> git rev-list --count --left-right HEAD...origin/master
1 1 |
The output looks fine. Can you test it again inside Vim like so? :execute 'cd' g:plugs['coc.nvim'].dir | echo system('git rev-list --count --left-right HEAD...origin/master') | echo v:shell_error |
Output is: C:\Users\USER\AppData\Local\nvim-data\plugged\coc.nvim
1 1
0 |
My guess is that you're using an old version of powershell as your Can you check if b98b662 fixes the problem? FWIW, I had to follow the guide in |
I was using powershell 5.1.
b98b662 solved the issue, no more failed messages and finally only prints plugins not in list, thank you very much for your help and fast responses, really appreciate it a lot! |
Thanks! |
Hi, every time I try to PlugClean it prompts me to delete the directories of every single installed plugin, not only the ones missing from the list, and the message:
I tried to fix everything I knew I changed in my hand to see if I broke the manager; folder sharing, outdated git, vim-plug or NeoVim, firewall rules, VPN...
I use a .vim file for vim-plug only, and init.lua for configs, setups and to source the vim file. Although I thought that could be an issue, I have a similar if not the same setup in a laptop with the same OS, and the old git, NeoVim and vim-plug versions I had in my main computer. PlugClean works perfectly there.
I've been trying to solve it on my own for some time but now but I finally ran out of ideas, I don't know if I screwed the manager up or if this is a bug, what am I missing?
Additional note
I kept the same versions for git and NeoVim since the problem started, I never updated till the day of this issue writing.
The only I think I updated was vim-plug.
Old versions were 0.9.5 release for NeoVim and 2.35.X.windows.2 for git.
New version of NeoVim is listed below (:version), new git version is 2.45.2.windows.1.
Thought this might be important.
The text was updated successfully, but these errors were encountered: