summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-19 22:17:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-19 22:17:22 +0100
commit4f8dc859886bc3f9dbbc45e284b6f46f82179f45 (patch)
treec3ce9d3159a9dff4b525003f9d94ccd321454fd1
parent090aaafdb9ff73e3c90545a2774ba08551024f13 (diff)
accept refs that require updating .git/shallow
-rw-r--r--src/backend/libsisyphus.py6
1 files 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):