From 703fe5d2c3a4b68f63611f01499d2a8e5a9f3095 Mon Sep 17 00:00:00 2001 From: "hinoka@google.com" Date: Fri, 28 Feb 2014 23:10:51 +0000 Subject: [PATCH] Need to run git cache exists in a directory we know for sure that exists We don't want to run it in the DEPS directory, which is apperently what the default behavior is. BUG=339171 Review URL: https://codereview.chromium.org/184793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@254266 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient_scm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gclient_scm.py b/gclient_scm.py index 238122fce..af48b5f7f 100644 --- a/gclient_scm.py +++ b/gclient_scm.py @@ -685,7 +685,7 @@ class GitWrapper(SCMWrapper): ['--shallow', '--cache-dir', self.cache_dir, url], options, cwd=self._root_dir, retry=True) return self._Run(['cache', 'exists', '--cache-dir', self.cache_dir, url], - options).strip() + options, cwd=self._root_dir, ).strip() def _Clone(self, revision, url, options): """Clone a git repository from the given URL.