Skip to content
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

error with git_version_requirement #445

Closed
3 of 11 tasks
nhooyr opened this issue Mar 12, 2016 · 4 comments
Closed
3 of 11 tasks

error with git_version_requirement #445

nhooyr opened this issue Mar 12, 2016 · 4 comments

Comments

@nhooyr
Copy link

nhooyr commented Mar 12, 2016

Explain the problem here ...

i got the following error while updating

Error detected while processing function <SNR>2_job_handler[24]..<SNR>2_tick[2]..<SNR>2_progress_opt[1
]..<SNR>2_git_version_requirement:
line    1:
E684: list index out of range: -1

Not sure how to reproduce just yet.


NVIM v0.1.3-338-g1c066e6
Build type: Dev
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2
-g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protect
or-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim2016
0311-26285-1sln9at/build/config -I/tmp/neovim20160311-26285-1sln9at/src -I/tmp/neovim20160311-26285-1
sln9at/deps-build/usr/include -I/tmp/neovim20160311-26285-1sln9at/deps-build/usr/include -I/tmp/neovi
m20160311-26285-1sln9at/deps-build/usr/include/luajit-2.0 -I/tmp/neovim20160311-26285-1sln9at/deps-bu
ild/usr/include -I/tmp/neovim20160311-26285-1sln9at/deps-build/usr/include -I/tmp/neovim20160311-2628
5-1sln9at/deps-build/usr/include -I/tmp/neovim20160311-26285-1sln9at/deps-build/usr/include -I/usr/lo
cal/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim20160311-26285-1sln9at/build/src/n
vim/auto -I/tmp/neovim20160311-26285-1sln9at/build/include
Compiled by nhooyr@aubble

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD/share/nvim"
  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question
  • OS:
    • All/Other
    • Linux
    • OS X
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • Neovim
@junegunn
Copy link
Owner

It indicates that system('git --version') returned an empty string, but I'm not sure how that can happen. It could be a bug of neovim. How often do you see the error?

@nhooyr
Copy link
Author

nhooyr commented Mar 12, 2016

@junegunn not too often, it comes and goes.

@junegunn
Copy link
Owner

Okay, I noticed vim-plug was repeatedly checking the git version. (There was an invalid assumption that Vimscript will short-circuit the expression computing the default value for get() function.) It's a harmless bug but I fixed it and it should definitely help in this case. Please upgrade your plug.vim.

@nhooyr
Copy link
Author

nhooyr commented Mar 12, 2016

Great, thanks.

@nhooyr nhooyr closed this as completed Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants