summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2015-01-30 19:36:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-30 19:36:06 +0000
commitdb6f1b088425d0c5060f362e25c4028b2f2adb8c (patch)
tree18bbc19e3cfdf525905d85fd1635e69a9f6805d0 /project.py
parentee6908442102008df57b46271323d9b06d5fdfbf (diff)
parentf97e8383a3b180fb5aa186f8cebc4c98d7787778 (diff)
downloadgit-repo-db6f1b088425d0c5060f362e25c4028b2f2adb8c.tar.gz
Merge "Use depth flag when fetching"
Diffstat (limited to 'project.py')
-rw-r--r--project.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/project.py b/project.py
index 49db02e3..4e9dba7f 100644
--- a/project.py
+++ b/project.py
@@ -1822,9 +1822,7 @@ class Project(object):
1822 1822
1823 cmd = ['fetch'] 1823 cmd = ['fetch']
1824 1824
1825 # The --depth option only affects the initial fetch; after that we'll do 1825 if depth:
1826 # full fetches of changes.
1827 if depth and initial:
1828 cmd.append('--depth=%s' % depth) 1826 cmd.append('--depth=%s' % depth)
1829 1827
1830 if quiet: 1828 if quiet: