From: Simon Hausmann Date: Thu, 24 May 2007 20:28:28 +0000 (+0200) Subject: Oops, fix --with-origin to /really/ also call git fetch :) X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=78eb61f487674d594db3808913c9f81648aa6a35;p=python%2Ffast-export.git Oops, fix --with-origin to /really/ also call git fetch :) --- diff --git a/git-p4 b/git-p4 index 0597daa..08af23f 100755 --- a/git-p4 +++ b/git-p4 @@ -841,6 +841,10 @@ class P4Sync(Command): else: self.refPrefix = "refs/heads/" + if self.syncWithOrigin: + print "Syncing with origin first as requested by calling git fetch origin" + system("git fetch origin") + createP4HeadRef = False; if len(self.branch) == 0: