Chromium Code Reviews| Index: gclient_scm.py |
| diff --git a/gclient_scm.py b/gclient_scm.py |
| index f58343175f9193cbb03747330fee9f389b3f4747..97495fbb9bb97f48cb80df9791ba6ba38cd2f0e9 100644 |
| --- a/gclient_scm.py |
| +++ b/gclient_scm.py |
| @@ -796,7 +796,7 @@ class GitWrapper(SCMWrapper): |
| @staticmethod |
| def _UpdateMirror(mirror, options): |
| """Update a git mirror by fetching the latest commits from the remote.""" |
| - if options.shallow: |
|
ghost stip (do not use)
2014/08/22 20:59:02
doesn't options default to None? or is this someth
|
| + if getattr(options, 'shallow', False): |
| # HACK(hinoka): These repositories should be super shallow. |
| if 'flash' in mirror.url: |
| depth = 10 |