chiark / gitweb /
dgit: Turn gc.auto off in our hidden working tree setups
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 39efa04a2189491f45441039c45f2320c1a22ad4..b1cb9b25dabb8516baa5356817864a62608bbdba 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1340,6 +1340,7 @@ sub prep_ud (;$) {
 
 sub mktree_in_ud_here () {
     runcmd qw(git init -q);
+    runcmd qw(git config gc.auto 0);
     rmtree('.git/objects');
     symlink '../../../../objects','.git/objects' or die $!;
 }