packer.nvim
packer.nvim copied to clipboard
Packer should use `git` in the PATH
Hi — I am setting up NeoVim on a remote server that has an old version of git
. While the path contains the updated version from conda
, Packer appears to be using the /usr/bin/git
version which results in the install/update failure due to missing rebase=flag
support. When I directly edited packer.lua
to point to the latest git, install/update went fine. The title for this bug is presumptuous based on my current understanding, but let me know if that is not the issue.
-
nvim --version
:
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by runner@fv-az316-460
-
git --version
:git version 2.35.3
- Operating system/version:
Linux x86_64 GNU/Linux
- Terminal name/version:
xterm-kitty
Steps to reproduce
- Install an older version of
git
. In my case -git version 1.8.3.1
- Run
PackerInstall
orPackerUpdate
- Error due to
rebase=false
flag missing
Actual behaviour
- Install/update fails
Expected behaviour
- No failure
packer files
Plugin specification file(s)
Post or link your plugin specification files here, if you aren't able to provide a minimal reproducer
packer log file
Post the contents of ~/.cache/nvim/packer.nvim.log here
packer compiled file
Post the contents of packer_compiled.vim
here