summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-10-18 10:28:06 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-10-18 10:28:06 +0100
commitef460b22eae88588a71051f2cef3496d9f6b9c3a (patch)
tree39ba04c78c957e246208b74a886d86f89fedf1d8
parentc24b2c96c3732fcd6d0677583feb9dab10f68d32 (diff)
parent75511a194b258659c72fa099dca554e9dc180ed2 (diff)
downloadybd-ef460b22eae88588a71051f2cef3496d9f6b9c3a.tar.gz
Merge branch 'tacgomes/ybd-tacgomes/fix-git-mirroring'
-rw-r--r--ybd/repos.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ybd/repos.py b/ybd/repos.py
index 8225d54..c52adcc 100644
--- a/ybd/repos.py
+++ b/ybd/repos.py
@@ -136,6 +136,7 @@ def mirror(name, repo):
call(['wget', os.path.join(app.config['tar-url'], tar_file)],
stdout=fnull, stderr=fnull)
call(['tar', 'xf', tar_file], stderr=fnull)
+ call(['git', 'config', 'gc.autodetach', 'false'], stderr=fnull)
os.remove(tar_file)
update_mirror(name, repo, tmpdir)
except: