Oops, not only /set/ gitdir on clone, also set it /correctly/ :)

This commit is contained in:
Simon Hausmann
2007-05-20 15:24:01 +02:00
parent f1f9c98c25
commit 9578faee07

2
git-p4
View File

@@ -1009,7 +1009,7 @@ class P4Clone(P4Sync):
os.makedirs(dir)
os.chdir(dir)
system("git init")
gitdir = os.getcwd()
gitdir = os.getcwd() + "/.git"
if not P4Sync.run(self, [depotPath]):
return False
if self.branch != "master":