From 4bf8e89e6784e121ddc32990d586e2276ec84596 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Mon, 18 Aug 2008 13:36:32 -0400 Subject: fixed it so init actually creates a bare repo. Thank you Daniel Watkins. --- lib/git/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/repo.py') diff --git a/lib/git/repo.py b/lib/git/repo.py index 1ceb7449..682b7652 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -297,7 +297,7 @@ class Repo(object): os.makedirs(path, 0755) git = Git(path) - output = git.init(**kwargs) + output = git.init('--bare', **kwargs) return Repo(path) create = init_bare -- cgit v1.2.1