Skip to content

Commit 4bf8e89

Browse files
committed
fixed it so init actually creates a bare repo. Thank you Daniel Watkins.
1 parent cf37099 commit 4bf8e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def init_bare(self, path, mkdir=True, **kwargs):
297297
os.makedirs(path, 0755)
298298

299299
git = Git(path)
300-
output = git.init(**kwargs)
300+
output = git.init('--bare', **kwargs)
301301
return Repo(path)
302302
create = init_bare
303303

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy