summaryrefslogtreecommitdiff
path: root/src/backend/libsisyphus.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/libsisyphus.py')
-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):