From dc5c4d1d117304345ebec71a852184859883e1eb Mon Sep 17 00:00:00 2001 From: Erwan Yvin Date: Tue, 18 Jun 2019 13:49:12 +0200 Subject: [PATCH] sync: respect --force-sync when fetching manifest project updates The --force-sync option was being passed down for all updates except for the manifest project, so add that there too. Bug: https://crbug.com/gerrit/11034 Change-Id: I33818b652f828c6b847dbc70f1fedfac5ac17bbe Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/228146 Tested-by: Mike Frysinger Reviewed-by: Mike Frysinger --- subcmds/sync.py | 1 + 1 file changed, 1 insertion(+) diff --git a/subcmds/sync.py b/subcmds/sync.py index 9a844021..f5a7b0e6 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -780,6 +780,7 @@ later is required to fix a server side protocol bug. start = time.time() success = mp.Sync_NetworkHalf(quiet=opt.quiet, verbose=opt.verbose, current_branch_only=opt.current_branch_only, + force_sync=opt.force_sync, tags=opt.tags, optimized_fetch=opt.optimized_fetch, retry_fetches=opt.retry_fetches,