Commit 3ffa3854 authored by rcui@google.com's avatar rcui@google.com

chromite_wrapper: Support git submodule checkouts.

BUG=None
TEST=Ran locally

Review URL: https://chromiumcodereview.appspot.com/14585006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@198184 0039d316-1c4b-4281-b951-d872f2087c98
parent 615a262d
...@@ -37,6 +37,7 @@ def _FindChromite(path): ...@@ -37,6 +37,7 @@ def _FindChromite(path):
roots = ( roots = (
('.repo', 'chromite/.git'), ('.repo', 'chromite/.git'),
('.gclient', 'src/third_party/chromite/.git'), ('.gclient', 'src/third_party/chromite/.git'),
('src/.gitmodules', 'src/third_party/chromite/.git'),
) )
while path != '/': while path != '/':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment