From 1882c1bda0527016271bd828491b10e5971f3643 Mon Sep 17 00:00:00 2001 From: bebbo Date: Sat, 10 Feb 2018 09:27:35 +0100 Subject: [PATCH] removed --depth 1 from git clone - prepare to be obsolete --- toolchain-m68k | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/toolchain-m68k b/toolchain-m68k index d7d1c28d..c11726c8 100755 --- a/toolchain-m68k +++ b/toolchain-m68k @@ -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():