Oops, not only /set/ gitdir on clone, also set it /correctly/ :)
authorSimon Hausmann <simon@lst.de>
Sun, 20 May 2007 13:24:01 +0000 (15:24 +0200)
committerSimon Hausmann <simon@lst.de>
Sun, 20 May 2007 13:24:01 +0000 (15:24 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
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":