Florian Schwalm 0ed10e5e89 Reorder if-else-clauses in :compare_git_versions so last else block can be reached
It is hard to spot without the brackets, but the last else block - that resets %test_dir% and
logs in verbose mode that an older user git version will be ignored - can't actually be reached.
The else block is considered to belong to the if clause "if exist "%test_dir:~0,-4%\cmd\git.exe""
that will only ever be executed if ERRORLEVEL is greather than or equal to 0, thus if the test fails,
the following else if clause "else if ERRORLEVEL 0" will always succeed and the last else block will be ignored.
Using the vendored git version may still have worked because %GIT_INSTALL_ROOT% isn't set either way,
but to enable the log message I reordered if-else-clauses and brackets in the way I think the
original author intended them to work.
2020-07-29 22:39:46 +02:00
..
2020-05-10 10:56:12 -04:00
2019-11-23 11:54:53 -05:00
2019-11-23 11:54:53 -05:00
2020-07-18 13:32:22 +02:00
2020-04-28 11:18:24 +08:00
2019-03-31 16:11:14 -04:00

Vendor

Third parties software & init script.