summaryrefslogtreecommitdiffstats
path: root/wrapper.py
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2026-05-11 15:56:08 -0700
committergerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-05-12 10:41:47 -0700
commitd5037230e94e50c30698f9dd8d9404e293e23c7e (patch)
tree3e91817d0984bdef99f2fdc4f982675de328f5c0 /wrapper.py
parent7cc99b24c1869d54168708a2df6e6f936c36f980 (diff)
downloadgit-repo-d5037230e94e50c30698f9dd8d9404e293e23c7e.tar.gz
sync: Re-raise KeyboardInterrupt in main process
When running sync -j1, worker functions run directly in the main process. Swallowing KeyboardInterrupt causes the loop to continue to the next project instead of aborting. Re-raise KeyboardInterrupt if running in the MainProcess, while maintaining the suppression of stack traces in worker processes. Bug: 468170157 Change-Id: I156d66bc209a265f7fa25eea0eb88737d1b51a34 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/581342 Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'wrapper.py')
0 files changed, 0 insertions, 0 deletions