File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ if not defined git_locale for /F "tokens=* delims=" %%F in ('where env.exe 2^>nu
268268setlocal enabledelayedexpansion
269269if defined git_locale (
270270
271- REM ! print_debug! init.bat "Env Var - git_locale=!git_locale!"
271+ REM % print_debug% init.bat "Env Var - git_locale=!git_locale!"
272272 if not defined LANG (
273273 for /F " delims=" %%F in ('!git_locale! -uU 2') do (
274274 set " LANG = %%F "
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ call "%~dp0lib_base.cmd"
44set lib_console = call " %~dp0 lib_console.cmd"
55
66:: Much faster than using "%lib_console% debug_output ..." etc.
7- set print_debug = if %debug_output% gtr 0 %lib_console% debug_output %*
8- set print_verbose = if %verbose_output% gtr 0 %lib_console% verbose_output %*
9- set print_error = %lib_console% show_error %*
7+ set print_debug = if %debug_output% gtr 0 %lib_console% debug_output
8+ set print_verbose = if %verbose_output% gtr 0 %lib_console% verbose_output
9+ set print_error = %lib_console% show_error
1010
1111if " %fast_init% " == " 1" exit /b
1212
Original file line number Diff line number Diff line change @@ -244,13 +244,13 @@ exit /b
244244 set " GIT_INSTALL_ROOT = !test_dir! "
245245 )
246246 ) else (
247- ! print_verbose! " Found old !GIT_VERSION_USER! in !test_dir! , but not using..."
247+ % print_verbose% " Found old !GIT_VERSION_USER! in !test_dir! , but not using..."
248248 )
249249 ) else (
250250 :: compare the user git version against the vendored version
251251 :: if the user provided git executable is not found
252252 IF ERRORLEVEL -255 IF NOT ERRORLEVEL -254 (
253- ! print_verbose! " No git at " !git_executable! " found."
253+ % print_verbose% " No git at " !git_executable! " found."
254254 set test_dir =
255255 )
256256 )
Original file line number Diff line number Diff line change @@ -81,20 +81,20 @@ exit /b
8181 echo " !path! " | !WINDIR! \System32\findstr > nul /I /R /C:" ;!find_query! ;"
8282 call :set_found
8383 )
84- ! print_debug! :enhance_path " Env Var INSIDE PATH !find_query! - found=!found! "
84+ % print_debug% :enhance_path " Env Var INSIDE PATH !find_query! - found=!found! "
8585
8686 if /i " !position! " == " append" (
8787 if " !found! " == " 0" (
8888 echo " !path! " | !WINDIR! \System32\findstr > nul /I /R /C:" ;!find_query! \" $"
8989 call :set_found
9090 )
91- ! print_debug! :enhance_path " Env Var END PATH !find_query! - found=!found! "
91+ % print_debug% :enhance_path " Env Var END PATH !find_query! - found=!found! "
9292 ) else (
9393 if " !found! " == " 0" (
9494 echo " !path! " | !WINDIR! \System32\findstr > nul /I /R /C:" ^\" !find_query! ;"
9595 call :set_found
9696 )
97- ! print_debug! :enhance_path " Env Var BEGIN PATH !find_query! - found=!found! "
97+ % print_debug% :enhance_path " Env Var BEGIN PATH !find_query! - found=!found! "
9898 )
9999 endlocal & set found = %found%
100100
You can’t perform that action at this time.
0 commit comments