2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

removed --depth 1 from git clone - prepare to be obsolete

This commit is contained in:
bebbo
2018-02-10 09:27:35 +01:00
parent d5c3bb912e
commit 1882c1bda0

View File

@ -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():