gclient: Prune dangling remote tracking refs when fetching with --force

BUG=644722

Review-Url: https://codereview.chromium.org/2320573005
changes/18/399118/1
bpastene 9 years ago committed by Commit bot
parent 082267a659
commit 2a3e9913be

@ -1235,7 +1235,7 @@ class GitWrapper(SCMWrapper):
self._Run(config_cmd, options)
need_fetch = True
if fetch and need_fetch:
self._Fetch(options)
self._Fetch(options, prune=options.force)
def _Run(self, args, options, show_header=True, **kwargs):
# Disable 'unused options' warning | pylint: disable=W0613

Loading…
Cancel
Save