Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix git-p4 submit
author
Simon Hausmann
<shausman@trolltech.com>
Thu, 7 Jun 2007 11:09:14 +0000
(13:09 +0200)
committer
Simon Hausmann
<shausman@trolltech.com>
Thu, 7 Jun 2007 11:09:14 +0000
(13:09 +0200)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
68c4215
)
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 50d92c0f428bc9f7924fbb65d5e40ea442b1dad8..8be0afe8284f832e1058770a66c5b261e8ebd500 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-276,6
+276,7
@@
class P4Submit(Command):
self.origin = ""
self.directSubmit = False
self.trustMeLikeAFool = False
+ self.verbose = False
self.logSubstitutions = {}
self.logSubstitutions["<enter description here>"] = "%log%"
@@
-478,9
+479,6
@@
class P4Submit(Command):
% (fileName, fileName))
def run(self, args):
- # make gitdir absolute so we can cd out into the perforce checkout
- os.environ["GIT_DIR"] = gitdir
-
if len(args) == 0:
self.master = currentGitBranch()
if len(self.master) == 0 or not gitBranchExists("refs/heads/%s" % self.master):