Skip to content

Failed to compare with the origin when PlugClean. #1283

Closed
@Davtrap21

Description

@Davtrap21

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:

Failed to compare with the origin. The default branch might have changed.

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.


call plug#begin()

Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'ellisonleao/gruvbox.nvim'
Plug 'Mofiqul/vscode.nvim'
Plug 'nvim-lualine/lualine.nvim'
Plug 'nvim-tree/nvim-web-devicons'
Plug 'mfussenegger/nvim-jdtls'
Plug 'neovim/nvim-lspconfig'
Plug 'joshdick/onedark.vim'
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-fugitive'
" Plug 'nvim-java/nvim-java'
" Plug 'mfussenegger/nvim-dap'
Plug 'Djancyp/better-comments.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-lua/plenary.nvim'
Plug 'jxm35/livecode.nvim'
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.6' }
Plug 'Decodetalkers/csharpls-extended-lsp.nvim'
Plug 'jakobkhansen/journal.nvim'

call plug#end()
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068
  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question
  • OS:
    • All/Other
    • Linux
    • macOS
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • Neovim

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions