From 78eb61f487674d594db3808913c9f81648aa6a35 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 24 May 2007 22:28:28 +0200 Subject: [PATCH] Oops, fix --with-origin to /really/ also call git fetch :) --- git-p4 | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.11.4.GIT