Closed lfportal closed 1 year ago
Also seeing these issues and also updated git with brew before it happened as well
I have the exact same error but I honestly do not remember if I have updated git. I am running on Debian unstable with git version 2.39.0.
Hitting the same issue running in MSYS2 on windows.
git version 2.39.0
Same issue here.
git version 2.39.0
This error is apparently because git changed its behavior when someone uses "--jobs=0" (the change is in commit https://github.com/git/git/commit/51243f9f0f6a932ea579fd6f8014b348f8c2a523). For some reason zsh-snap is setting this option.
It looks like zsh-snap started setting "-j0" on fetch in commit https://github.com/marlonrichert/zsh-snap/pull/192/commits/251aba09dd26cf709e3168c34c7530ee892ded7c in order to address some other issue. This clearly needs to be changed to work with the current version of git.
This issue still persist unfortunately despite the commit 4a5b447bc4e43810fbfd931bae4c1be11a9ffdc9.
As an aside, I switched to sheldon plugin manager
when this particular issue came up as I was concerned about not being able to update plugins using znap pull
. Just know that between zsh-snap
and sheldon
boy your plugin is so fast. With sheldon
, loading the same number of plugins, I had to wait about 3 secs to see a prompt and with zsh-snap
about 1 sec. Thank you!
@thepreacher I think the related commit is 345ad82 and has not been merged yet into main
. You need to switch to the dev
branch to see the issue fixed.
Hopefully this gets merged into main
soon!
Thanks @soifou yes I've switched to the dev
branch and it's definately fixed there. I'll stick to the dev
branch for now and revert when it gets merged into main
.
This issue is now fixed with commit ea769c70f7aaf00f438739cbeaddf88b073f5017 to main branch. Thanks @marlonrichert.
Just know that between
zsh-snap
andsheldon
boy your plugin is so fast. Withsheldon
, loading the same number of plugins, I had to wait about 3 secs to see a prompt and withzsh-snap
about 1 sec. Thank you!
Thanks, that's great to hear! 🤗
Describe the bug
When running
znap pull
, the command doesn't execute successfully (no repos are updated), with the following error output:If memory serves me correctly I may have updated
git
to the latest version (at the time2.39.0
) before this started to happen.Steps To Reproduce
The relevant part of my
~/.gitconfig
:My
git
version:Command:
Expected behavior
Repos update without errors.
Observed behavior
Repos not updated with an error output (see above description).
Environment:
zsh 5.8.1 (x86_64-apple-darwin22.0)
main 97e9904
Additional context