From: Simon Hausmann Date: Thu, 7 Jun 2007 11:09:14 +0000 (+0200) Subject: Fix git-p4 submit X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=a72cdbe18de626bcbefcc03a14fc046f662bfbd0;p=python%2Ffast-export.git Fix git-p4 submit --- diff --git a/git-p4 b/git-p4 index 50d92c0..8be0afe 100755 --- a/git-p4 +++ b/git-p4 @@ -276,6 +276,7 @@ class P4Submit(Command): self.origin = "" self.directSubmit = False self.trustMeLikeAFool = False + self.verbose = False self.logSubstitutions = {} self.logSubstitutions[""] = "%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):