removed --depth 1 from git clone - prepare to be obsolete
This commit is contained in:
parent
d5c3bb912e
commit
1882c1bda0
|
@ -261,16 +261,10 @@ def shallowCheckout(murl, mpath, mbranch):
|
|||
if path.exists(path.join(mpath, '.git')):
|
||||
return
|
||||
|
||||
if '/bebbo/' in murl:
|
||||
if mbranch == None:
|
||||
execute('git', 'clone', murl, '--depth', '1', mpath)
|
||||
else:
|
||||
execute('git', 'clone', murl, '--depth', '1', '-b', mbranch, mpath)
|
||||
if mbranch == None:
|
||||
execute('git', 'clone', murl, mpath)
|
||||
else:
|
||||
if mbranch == None:
|
||||
execute('git', 'clone', murl, mpath)
|
||||
else:
|
||||
execute('git', 'clone', murl, '-b', mbranch, mpath)
|
||||
execute('git', 'clone', murl, '-b', mbranch, mpath)
|
||||
|
||||
|
||||
def update():
|
||||
|
|
Loading…
Reference in New Issue