Issue with git windows version
Hi,
Although I am a vim beginner, I quickly came across vim-plug. I noticed that the plugin encounters problems of following type in some environments.
Fehler beim Ausführen von "function <SNR>21_install[1]..<SNR>21_update_impl[62]..<SNR>21_git_version_requirement[2]..<SNR>21_system[30]..function <SNR>21_install[1]..<SNR>21_update_impl[62]..<SNR>21_g
it_version_requirement[2]..<SNR>21_system":
Zeile 24:
E484: Can't open file C:\Users\KONSTA~1.PAP\AppData\Local\Temp\VBVA3E4.tmp
Fehler beim Ausführen von "function <SNR>21_install[1]..<SNR>21_update_impl[62]..<SNR>21_git_version_requirement":
Zeile 2:
E171: Missing :endif
Fehler beim Ausführen von "function <SNR>21_install[1]..<SNR>21_update_impl":
Zeile 62:
E171: Missing :endif

I suspect it has something to do with version handling in the function s:git_version_requirement or s:version_requirement. For this you should know that the git version output looks like this.
git version --build-options
git version 2.33.1.windows.1
cpu: x86_64
built from commit: 05d80adb775077d673fab685009ede4a1003ed92
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon

Only the first 3 version numbers, 2.33.1, are checked because of how s:git_version_requirement is used throughtout the plug.vim file. It's probably the ongoing tempfile issue like in the other issues. No way around it without rewriting s:system() to not depend on the temp batchfiles.
I have the same issue on Mac machine. Running PlugInstall comes with similar messages. So it is not windows issue. Janlazo, are you suggesting that I cannot use this plugin ever? I don't think anybody will touch s:system() for compatibility issues. There must be workaround to bypass some of the crazy version checking. FYI here is the error after running PlugInstall for first time. Yes I did start with clean installation by running
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Anything else I can provide to help to resolve this ?