| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
|
| index 5c03c13dc05b6e6a2aa3bf33d8376e09364b0a65..a291236d8a1cc4fd999e4047477bf9a878d4eb58 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
|
| @@ -13,6 +13,7 @@ import logging
|
| import re
|
|
|
| from webkitpy.common.net.buildbot import Build, filter_latest_builds
|
| +from webkitpy.common.checkout.git import Git
|
|
|
| _log = logging.getLogger(__name__)
|
|
|
| @@ -27,10 +28,11 @@ class GitCL(object):
|
| self._host = host
|
| self._auth_refresh_token_json = auth_refresh_token_json
|
| self._cwd = cwd
|
| + self._git_executable_name = Git.find_executable_name(host.executive, host.platform)
|
|
|
| def run(self, args):
|
| """Runs git-cl with the given arguments and returns the output."""
|
| - command = ['git', 'cl'] + args
|
| + command = [self._git_executable_name, 'cl'] + args
|
| if self._auth_refresh_token_json and args[0] in _COMMANDS_THAT_TAKE_REFRESH_TOKEN:
|
| command += ['--auth-refresh-token-json', self._auth_refresh_token_json]
|
| return self._host.executive.run_command(command, cwd=self._cwd)
|
|
|