diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1815,9 +1815,7 @@ class Project(object): | |||
1815 | 1815 | ||
1816 | cmd = ['fetch'] | 1816 | cmd = ['fetch'] |
1817 | 1817 | ||
1818 | # The --depth option only affects the initial fetch; after that we'll do | 1818 | if depth: |
1819 | # full fetches of changes. | ||
1820 | if depth and initial: | ||
1821 | cmd.append('--depth=%s' % depth) | 1819 | cmd.append('--depth=%s' % depth) |
1822 | 1820 | ||
1823 | if quiet: | 1821 | if quiet: |