summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <simon@lst.de>2007-05-20 15:24:01 +0200
committerLibravatar Simon Hausmann <simon@lst.de>2007-05-20 15:24:01 +0200
commit64ffb06a9c940e57a215d313cd58f702d695e919 (patch)
tree6c2f92b3c96d7f28ffa7d1eb2fbcb36fb135b37b /contrib
parentFix gitdir not being set when cloning. Needed for writing the p4 users cache. (diff)
downloadtgif-64ffb06a9c940e57a215d313cd58f702d695e919.tar.xz
Oops, not only /set/ gitdir on clone, also set it /correctly/ :)
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/git-p42
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index 14be55bcfc..80d966fb30 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":