Generalize python_git_runner for use in non-git scripts.

Also fixes an msys (git-bash) incompatibility, similar to the one
fixed in crrev.com/4845f0ed694ff071da5f6ee937a0bce2ea4e6fd2.

This change doesn't actually use the wrapper in any new places, but
subsequent changes will be made to use it in places where
'exec python' is called directly, like gclient and fetch.

BUG=411518
R=iannucci@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297357 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
mmoss@chromium.org
2015-10-28 15:06:10 +00:00
parent f2214673e1
commit 3811235942
23 changed files with 33 additions and 33 deletions

View File

@@ -6,4 +6,4 @@
# git_upstream_diff.py -- Provide the diff between the current branch and its
# upstream.
. $(type -P python_git_runner.sh)
. $(type -P python_runner.sh)