Do not inject git:: to url when git 2.3.0 or above found by junegunn · Pull Request #168 · junegunn/vim-plug (original) (raw)

Related: #161
/cc @bruno-

This commit takes advantage of $GIT_TERMINAL_PROMPT variable added in git 2.3.0. So if the git installed on the system is 2.3.0 or above, vim-plug will not use git:: hack to prevent user prompt. However, the downside of the current implementation is that it runs git --version command on startup which should increase the startup time by a little.