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

Signed-off-by: Simon Hausmann <simon@lst.de>
maint
Simon Hausmann 2007-05-24 22:28:28 +02:00
parent abcd790fe9
commit 10f880f8d4
1 changed files with 4 additions and 0 deletions

View File

@ -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: