##// END OF EJS Templates
git: use --force for fetch command so we can force update non-fast-forward refs from the source
marcink -
r552:ea888de7 default
parent child Browse files
Show More
@@ -483,7 +483,7 b' class GitRemote(object):'
483
483
484 if fetch_refs:
484 if fetch_refs:
485 _out, _err = self.run_git_command(
485 _out, _err = self.run_git_command(
486 wire, ['fetch', url, '--prune', '--'] + fetch_refs,
486 wire, ['fetch', url, '--force', '--prune', '--'] + fetch_refs,
487 fail_on_stderr=False,
487 fail_on_stderr=False,
488 _copts=['-c', 'core.askpass=""'],
488 _copts=['-c', 'core.askpass=""'],
489 extra_env={'GIT_TERMINAL_PROMPT': '0'})
489 extra_env={'GIT_TERMINAL_PROMPT': '0'})
General Comments 0
You need to be logged in to leave comments. Login now