summaryrefslogtreecommitdiff
path: root/tests/test_hooks.py
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2026-04-20 17:57:20 +0000
committergerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-04-20 15:34:07 -0700
commitbaa281d99e59dbf1447524e6fd95b384cadbc06e (patch)
tree412dab50845510a6b4a802638c7d055955e37505 /tests/test_hooks.py
parent7e9079b7cf79988dd978d04bfb79250564829cc3 (diff)
downloadgit-repo-baa281d99e59dbf1447524e6fd95b384cadbc06e.tar.gz
git-repo-baa281d99e59dbf1447524e6fd95b384cadbc06e.zip
sync: Refactor to use _RunOneGC and fix config leakagev2.63
Extract _RunOneGC to handle GC on a single project. This refactoring makes it easier to invoke GC from parallel worker tasks. Also, avoid modifying the passed-in config dictionary in _RunOneGC by creating a local copy, preventing unintended side effects on other commands sharing the same config. Bug: 498290329 Change-Id: I7b77ed6629b14b5ee3322870b9c6c8ce2bfd6ea2 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/574923 Reviewed-by: Becky Siegel <beckysiegel@google.com> Tested-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'tests/test_hooks.py')
0 files changed, 0 insertions, 0 deletions