summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3c4624)
raw | patch | inline | side by side (parent: c3c4624)
author | Simon Hausmann <shausman@trolltech.com> | |
Wed, 16 May 2007 10:12:39 +0000 (12:12 +0200) | ||
committer | Simon Hausmann <shausman@trolltech.com> | |
Wed, 16 May 2007 10:12:39 +0000 (12:12 +0200) |
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4 | patch | blob | history |
index c48b257577f22bf7872a11fadfe659fc66802970..ca6c62380990268a77a54bc7655c055445469b94 100755 (executable)
gitdir = ".git"
if not isValidGitDir(gitdir):
gitdir = mypopen("git rev-parse --git-dir").read()[:-1]
+ if os.path.exists(gitdir):
+ os.chdir(mypopen("git rev-parse --show-cdup").read()[:-1]);
if not isValidGitDir(gitdir):
if isValidGitDir(gitdir + "/.git"):