mirror of
https://github.com/bebbo/amigaos-cross-toolchain.git
synced 2025-12-08 22:38:24 +00:00
removed --depth 1 from git clone - prepare to be obsolete
This commit is contained in:
@ -261,16 +261,10 @@ def shallowCheckout(murl, mpath, mbranch):
|
|||||||
if path.exists(path.join(mpath, '.git')):
|
if path.exists(path.join(mpath, '.git')):
|
||||||
return
|
return
|
||||||
|
|
||||||
if '/bebbo/' in murl:
|
if mbranch == None:
|
||||||
if mbranch == None:
|
execute('git', 'clone', murl, mpath)
|
||||||
execute('git', 'clone', murl, '--depth', '1', mpath)
|
|
||||||
else:
|
|
||||||
execute('git', 'clone', murl, '--depth', '1', '-b', mbranch, mpath)
|
|
||||||
else:
|
else:
|
||||||
if mbranch == None:
|
execute('git', 'clone', murl, '-b', mbranch, mpath)
|
||||||
execute('git', 'clone', murl, mpath)
|
|
||||||
else:
|
|
||||||
execute('git', 'clone', murl, '-b', mbranch, mpath)
|
|
||||||
|
|
||||||
|
|
||||||
def update():
|
def update():
|
||||||
|
|||||||
Reference in New Issue
Block a user