Oops, not only /set/ gitdir on clone, also set it /correctly/ :)
[gitweb.git] / contrib / fast-import / git-p4
index 14be55bcfcc493dd5e1d790b129e2c24a538f9c2..80d966fb305de9eccec58cb1dd1187e6751db382 100755 (executable)
@@ -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":