From 45a18ec2d76c215b1e25d4e63c43fb695d56db94 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 22 Jan 2009 13:47:43 +0100 Subject: [PATCH] Generate new repos as shared --- gitdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitdump.py b/gitdump.py index 14f9f4e..032c7db 100644 --- a/gitdump.py +++ b/gitdump.py @@ -48,7 +48,7 @@ class AuthorizedKeysDumper: # Does not exist, let's initialize a new one print "Initializing new git repository %s" % name os.environ['GIT_DIR'] = "%s/repos/%s"% (self.conf.get("paths", "githome"), name) - os.system("git init --bare") + os.system("git init --bare --shared") del os.environ['GIT_DIR'] # Check for publishing options here -- 2.39.5