1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-03 22:28:09 +02:00

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

Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
Simon Hausmann 2007-05-24 22:28:28 +02:00
parent abcd790fe9
commit 10f880f8d4

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: