Oops, fix --with-origin to /really/ also call git fetch :)
Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
parent
abcd790fe9
commit
10f880f8d4
@ -841,6 +841,10 @@ class P4Sync(Command):
|
|||||||
else:
|
else:
|
||||||
self.refPrefix = "refs/heads/"
|
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;
|
createP4HeadRef = False;
|
||||||
|
|
||||||
if len(self.branch) == 0:
|
if len(self.branch) == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user