diff options
-rw-r--r-- | src/backend/libsisyphus.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 8993af0..5bf7b8f 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -172,14 +172,14 @@ def syncLocalDatabase(): def syncPortageTree(): os.chdir(gentooEbuildDir) - subprocess.call(['git', 'pull', '--quiet']) + subprocess.call(['git', 'pull', '--depth=1', '--quiet']) os.chdir(redcoreEbuildDir) - subprocess.call(['git', 'pull', '--quiet']) + subprocess.call(['git', 'pull', '--depth=1', '--quiet']) def syncPortageCfg(): os.chdir(portageConfigDir) - subprocess.call(['git', 'pull', '--quiet']) + subprocess.call(['git', 'pull', '--depth=1', '--quiet']) def cleanCacheDir(): if os.path.isdir(portageCacheDir): |