diff options
-rw-r--r-- | project.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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: |