From 15ee0ac0d56a5fb5ba13fae4288621ddd2185f17 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 13 Feb 2010 19:48:40 +0100 Subject: IndexFile: unmerged_blobs lists are now sorted Repo.init: fixed incorrect use of the path which was to optionally specify where to initialize the repository. Update test as well --- lib/git/repo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/git/repo.py') diff --git a/lib/git/repo.py b/lib/git/repo.py index 25cc412e..0c8ac9e9 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -693,8 +693,9 @@ class Repo(object): if mkdir and path and not os.path.exists(path): os.makedirs(path, 0755) + # git command automatically chdir into the directory git = Git(path) - output = git.init(path, **kwargs) + output = git.init(**kwargs) return Repo(path) def clone(self, path, **kwargs): -- cgit v1.2.1