summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlorry7
1 files changed, 7 insertions, 0 deletions
diff --git a/lorry b/lorry
index e37261c..279a175 100755
--- a/lorry
+++ b/lorry
@@ -423,6 +423,13 @@ class Lorry(cliapp.Application):
if not os.path.exists(old_gitdir):
old_gitdir = old_repo
+ # Ensure that it's bare
+ self.run_program(['git', 'config', 'core.bare', 'true'],
+ cwd=old_gitdir)
+ self.run_program(['git', 'config', 'core.logallrefupdates',
+ 'false'],
+ cwd=old_gitdir)
+
self.write_update_count(old_gitdir, 1)
# Move it to new name, and remove top-level directory if we