Commit 82844095 authored by cmp@chromium.org's avatar cmp@chromium.org

Enable installing git by default on Windows.

BUG=79356
Review URL: http://codereview.chromium.org/8369019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@107206 0039d316-1c4b-4281-b951-d872f2087c98
parent 0eff22d6
...@@ -25,8 +25,9 @@ if "%1" == "force" ( ...@@ -25,8 +25,9 @@ if "%1" == "force" (
:GIT_CHECK :GIT_CHECK
:: If the batch file exists, skip the git check. :: If the batch file exists, skip the git check.
if exist "%WIN_TOOLS_ROOT_DIR%\git.bat" goto :SVN_CHECK if exist "%WIN_TOOLS_ROOT_DIR%\git.bat" goto :SVN_CHECK
if "%GIT_TOOLS_FORCE%" == "1" goto :GIT_INSTALL if "%WIN_TOOLS_FORCE%" == "1" goto :GIT_INSTALL
:: The normal initialization will happen here when we're ready to deploy. call git --version 2>nul 1>nul
if errorlevel 1 goto :GIT_INSTALL
goto :SVN_CHECK goto :SVN_CHECK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment