Fix git-p4 submit
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Simon Hausmann committed
Jun 7, 2007 at 13:09 UTC
b0d10df77a1130bdf3b4f59fdc18312432b90823
1 file changed
+1
-3
contrib/fast-import/git-p4
+1
-3
@@ -276,6 +276,7 @@ class P4Submit(Command):
276
self.origin = ""
277
self.directSubmit = False
278
self.trustMeLikeAFool = False
279
+ self.verbose = False
280
281
self.logSubstitutions = {}
282
self.logSubstitutions["<enter description here>"] = "%log%"
@@ -478,9 +479,6 @@ class P4Submit(Command):
479
% (fileName, fileName))
480
481
def run(self, args):
481
- # make gitdir absolute so we can cd out into the perforce checkout
482
- os.environ["GIT_DIR"] = gitdir
483
-
482
if len(args) == 0:
483
self.master = currentGitBranch()
484
if len(self.master) == 0 or not gitBranchExists("refs/heads/%s" % self.master):