diff options
author | Michael Trier <mtrier@gmail.com> | 2008-08-18 13:36:32 -0400 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-08-18 13:36:32 -0400 |
commit | 4bf8e89e6784e121ddc32990d586e2276ec84596 (patch) | |
tree | 73f2d8ad35e02a443aef3381b8610c1351cdfc99 | |
parent | cf37099ea8d1d8c7fbf9b6d12d7ec0249d3acb8b (diff) | |
download | gitpython-4bf8e89e6784e121ddc32990d586e2276ec84596.tar.gz |
fixed it so init actually creates a bare repo. Thank you Daniel Watkins.
-rw-r--r-- | lib/git/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |