@echo off
setlocal
if not defined EDITOR set EDITOR=notepad
set PATH=%~dp0GIT_BIN_DIR\cmd;%PATH%
"%~dp0GIT_BIN_DIR\GIT_PROGRAM" %*

@echo off
setlocal
if not defined EDITOR set EDITOR=notepad
set PATH=%~dp0GIT_BIN_DIR\cmd;%~dp0;%PATH%
"%~dp0GIT_BIN_DIR\GIT_PROGRAM" %*

Fix depot_tools\git.bat when depot_tools in not in PATH.
Fix depot_tools\git.bat when depot_tools in not in PATH.

Manual land of https://chromiumcodereview.appspot.com/2009173002/ due to CQ
lineending issues.

AUTHOR=techtonik@gmail.com
R=phajdan.jr@chromium.org, techtonik@gmail.com, dpranke@chromium.org
BUG=

Review URL: https://codereview.chromium.org/2015673002 .

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@300668 0039d316-1c4b-4281-b951-d872f2087c98
