summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r--lib/git/repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py
index 8b519c1c..5a9855ac 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -280,7 +280,7 @@ class Repo(object):
if mkdir and not os.path.exists(path):
os.makedirs(path, 0755)
- git = Git(path)
+ git = Git(path, bare_repo=True)
output = git.init(**kwargs)
return Repo(path)
create = init_bare