diff options
author | Simon Hausmann <simon@lst.de> | 2007-05-20 15:24:01 +0200 |
---|---|---|
committer | Simon Hausmann <simon@lst.de> | 2007-05-20 15:24:01 +0200 |
commit | 64ffb06a9c940e57a215d313cd58f702d695e919 (patch) | |
tree | 6c2f92b3c96d7f28ffa7d1eb2fbcb36fb135b37b /contrib | |
parent | Fix gitdir not being set when cloning. Needed for writing the p4 users cache. (diff) | |
download | tgif-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-x | contrib/fast-import/git-p4 | 2 |
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": |