Skip to content

Commit

Permalink
Oops, fix --with-origin to /really/ also call git fetch :)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hausmann <simon@lst.de>
  • Loading branch information
Simon Hausmann committed May 24, 2007
1 parent abcd790 commit 10f880f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 10f880f

Please sign in to comment.