cmder/vendor/lib
Florian Schwalm cd50db3a7f Use ERRORLEVEL instead of %errorlevel% to compare git versions
%errorlevel% was always 0, even if the vendored git version was more current than the installed one
Usually exiting a batch script with "exit /b exitCode" as used in :compare_versions
sets %errorlevel% to the specified exit code
However, this may not work if %errorlevel% was set before with "Set errorlevel="
I didn't find the location where this might have happened,
but I saw the consequence of %errorlevel% always being 0
Thus I decided to use ERRORLEVEL instead as this will always work regardless of environment variable

For more information check https://ss64.com/nt/errorlevel.html
2020-07-29 22:25:49 +02:00
..
lib_base.cmd cleanup 2019-08-22 06:20:19 -04:00
lib_console.cmd Add /f for fast init. (#1942) 2018-11-04 01:36:51 +01:00
lib_git.cmd Use ERRORLEVEL instead of %errorlevel% to compare git versions 2020-07-29 22:25:49 +02:00
lib_path.cmd Fix and enhance enhance_path_recursive 2020-04-29 12:03:24 -04:00
lib_profile.cmd Add /f for fast init. (#1942) 2018-11-04 01:36:51 +01:00
start-ssh-agent.sh Move ssh-agent logic to lib script 2018-12-13 21:12:18 -08:00