Merge "Use depth flag when fetching"
This commit is contained in:
commit
db6f1b0884
1 changed files with 1 additions and 3 deletions
|
@ -1822,9 +1822,7 @@ class Project(object):
|
|||
|
||||
cmd = ['fetch']
|
||||
|
||||
# The --depth option only affects the initial fetch; after that we'll do
|
||||
# full fetches of changes.
|
||||
if depth and initial:
|
||||
if depth:
|
||||
cmd.append('--depth=%s' % depth)
|
||||
|
||||
if quiet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue