Index: gclient_scm.py |
diff --git a/gclient_scm.py b/gclient_scm.py |
index 24064f92b8814e39f418fbe4307ca7f51ed66700..c6e9b68964134efb8ae703b367fed2b2fc72d1ba 100644 |
--- a/gclient_scm.py |
+++ b/gclient_scm.py |
@@ -851,7 +851,9 @@ class GitWrapper(SCMWrapper): |
depth = 10000 |
else: |
depth = None |
- mirror.populate(verbose=options.verbose, bootstrap=True, depth=depth, |
+ mirror.populate(verbose=options.verbose, |
+ bootstrap=not getattr(options, 'no_bootstrap', False), |
+ depth=depth, |
ignore_lock=getattr(options, 'ignore_locks', False)) |
mirror.unlock() |