diff options
| author | Gavin Mak <gavinmak@google.com> | 2026-08-25 08:57:34 -0700 |
|---|---|---|
| committer | gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2026-09-21 13:40:01 -0700 |
| commit | f6f5946422097f2559cf3bc39a69d5fddc838ab8 (patch) | |
| tree | 907c50c76bf1a0fc0d5d755913947c154ed09fe0 /release | |
| parent | 6321b26685ff9bdf5858e574dc4967761990ce5b (diff) | |
| download | git-repo-f6f5946422097f2559cf3bc39a69d5fddc838ab8.tar.gz | |
project: avoid unnecessary sync revision enumeration
Skip the detached-history walk when its count will not be printed, ask
rev-list --count for upstream gain, and cap the published-but-unmerged
existence probe at one commit. These preserve the decisions while
reducing traversal and output work.
Bug: 553599402
Change-Id: I30f769c9aa5269428ece15ffcb45c50993d7c4b8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/634004
Commit-Queue: Gavin Mak <gavinmak@google.com>
Tested-by: Gavin Mak <gavinmak@google.com>
Reviewed-by: Brian Gan <brgan@google.com>
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
