From 4f8dc859886bc3f9dbbc45e284b6f46f82179f45 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 19 Jun 2019 22:17:22 +0100 Subject: accept refs that require updating .git/shallow --- src/backend/libsisyphus.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index f8ccb52..e6a2d76 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -173,14 +173,14 @@ def syncLocalDatabase(): def syncPortageTree(): os.chdir(gentooEbuildDir) - subprocess.call(['git', 'pull', '--depth=1', '--quiet']) + subprocess.call(['git', 'pull', '--depth=1', '--update-shallow', '--quiet']) os.chdir(redcoreEbuildDir) - subprocess.call(['git', 'pull', '--depth=1', '--quiet']) + subprocess.call(['git', 'pull', '--depth=1', '--update-shallow', '--quiet']) def syncPortageCfg(): os.chdir(portageConfigDir) - subprocess.call(['git', 'pull', '--depth=1', '--quiet']) + subprocess.call(['git', 'pull', '--depth=1', '--update-shallow', '--quiet']) def cleanCacheDir(): if os.path.isdir(portageCacheDir): -- cgit v1.2.3