@matheusbsbs / matheus-bagliano / commits / 10f880f8d4
Fork 0

Oops, fix --with-origin to /really/ also call git fetch :)

Signed-off-by: Simon Hausmann <simon@lst.de>

Simon Hausmann committed May 24, 2007 at 22:28 UTC 10f880f8d4e2c6390928a0bcc8b43161b5f845b2
1 file changed +4
contrib/fast-import/git-p4
+4
@@ -841,6 +841,10 @@ class P4Sync(Command):
841 else:
842 self.refPrefix = "refs/heads/"
843
844 + if self.syncWithOrigin:
845 + print "Syncing with origin first as requested by calling git fetch origin"
846 + system("git fetch origin")
847 +
848 createP4HeadRef = False;
849
850 if len(self.branch) == 0: