1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-08 14:46:11 +02:00

Make --with-origin also work without origin :)

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
This commit is contained in:
Simon Hausmann 2007-05-25 10:28:46 +02:00
parent 4280e53333
commit 417a7a6fc8

View File

@ -846,6 +846,7 @@ class P4Sync(Command):
self.refPrefix = "refs/heads/"
if self.syncWithOrigin:
if gitBranchExists("origin"):
print "Syncing with origin first as requested by calling git fetch origin"
system("git fetch origin")