Browse Source

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

Signed-off-by: Simon Hausmann <simon@lst.de>
maint
Simon Hausmann 18 years ago
parent
commit
10f880f8d4
  1. 4
      contrib/fast-import/git-p4

4
contrib/fast-import/git-p4

@ -841,6 +841,10 @@ class P4Sync(Command): @@ -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:

Loading…
Cancel
Save