From: Simon Hausmann Date: Sun, 20 May 2007 13:24:01 +0000 (+0200) Subject: Oops, not only /set/ gitdir on clone, also set it /correctly/ :) X-Git-Tag: v1.5.3-rc0~65^2^2~89 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=64ffb06a9c940e57a215d313cd58f702d695e919;p=git-core%2Fgit.git Oops, not only /set/ gitdir on clone, also set it /correctly/ :) Signed-off-by: Simon Hausmann --- diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 14be55bcf..80d966fb3 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -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":