зеркало из https://github.com/microsoft/git.git
Oops, fix --with-origin to /really/ also call git fetch :)
Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
Родитель
abcd790fe9
Коммит
10f880f8d4
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче