Show More
@@ -938,12 +938,12 b' class GitRemote(RemoteBase):' | |||
|
938 | 938 | @reraise_safe_exceptions |
|
939 | 939 | def init(self, wire): |
|
940 | 940 | repo_path = safe_str(wire['path']) |
|
941 | self.repo = Repo.init(repo_path) | |
|
941 | pygit2.init_repository(repo_path, bare=False) | |
|
942 | 942 | |
|
943 | 943 | @reraise_safe_exceptions |
|
944 | 944 | def init_bare(self, wire): |
|
945 | 945 | repo_path = safe_str(wire['path']) |
|
946 | self.repo = Repo.init_bare(repo_path) | |
|
946 | pygit2.init_repository(repo_path, bare=True) | |
|
947 | 947 | |
|
948 | 948 | @reraise_safe_exceptions |
|
949 | 949 | def revision(self, wire, rev): |
General Comments 0
You need to be logged in to leave comments.
Login now