summaryrefslogtreecommitdiffstats
path: root/git_refs.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-08-26 03:12:55 -0400
committerMike Frysinger <vapier@google.com>2019-08-27 01:20:44 +0000
commitd9e5cf0ee76d55a94079c34f78ffb9dff858e93e (patch)
tree0f2de5846d8642b5b25feb520340e7e046b5c5d7 /git_refs.py
parent3069be2684b0301886c8212d589fe670569a896e (diff)
downloadgit-repo-d9e5cf0ee76d55a94079c34f78ffb9dff858e93e.tar.gz
sync: invert --force-broken with --fail-fast
People seem to not expect the sync process to halt immediately if an error is encountered. It's also basically guaranteed to leave their tree in an incomplete state. Lets invert the default behavior so we attempt to sync (both fetch & checkout) all projects. If an error is hit, we still exit(1) and show it at the end. If people want the sync to abort quickly, they can use the new option --fail-fast. Bug: https://crbug.com/gerrit/11293 Change-Id: I49dd6c4dc8fd5cce8aa905ee169ff3cbe230eb3d Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/234812 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'git_refs.py')
0 files changed, 0 insertions, 0 deletions