bug: Duplicate fetch = +refs/heads/main:refs/remotes/origin/main
is added to lazy.nvim/.git/config
every time :Lazy update/sync
runs if lazy.nvim is cloned with --branch=stable
#1549
Labels
bug
Something isn't working
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0
Operating system/version
Arch Linux (rolling)
Describe the bug
If
lazy.nvim
is cloned with--branch
, every time I run:Lazy update/sync
, afetch = +refs/heads/main:refs/remotes/origin/main
is added tolazy.nvim/.git/config
's[remote "origin"]
section.Steps To Reproduce
nvim -u repro.lua repro.lua
:Lazy update
a few timescat .repro/plugins/lazy.nvim/.git/config
Expected Behavior
I understand it's harmless, but still it'd be nice to avoid this.
Repro
The text was updated successfully, but these errors were encountered: