mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Bug: b/360206460 Change-Id: I7068b201b0b976ac619db16ff16d5ffbe5aea362 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5884196 Reviewed-by: Allen Li <ayatane@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Anne Redulla <aredulla@google.com>
11 lines
475 B
Batchfile
11 lines
475 B
Batchfile
@echo off
|
|
setlocal
|
|
if not defined EDITOR set EDITOR=notepad
|
|
:: Exclude the current directory when searching for executables.
|
|
:: This is required for the SSO helper to run, which is written in Go.
|
|
:: Without this set, the SSO helper may throw an error when resolving
|
|
:: the `git` command (see https://pkg.go.dev/os/exec for more details).
|
|
set "NoDefaultCurrentDirectoryInExePath=1"
|
|
set "PATH=${GIT_BIN_ABSDIR}\cmd;%~dp0;%PATH%"
|
|
"${GIT_BIN_ABSDIR}\${GIT_PROGRAM}" %*
|