mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-01-12 01:20:26 +00:00
sync: skip bloat check if fresh sync
Initial syncs won't have accumulated any garbage. Bug: 379111283 Change-Id: I04b2ecde3e33f1f055038861a2705ab6aabb36d1 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/536083 Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Gavin Mak <gavinmak@google.com>
This commit is contained in:
@@ -2110,6 +2110,7 @@ later is required to fix a server side protocol bug.
|
|||||||
"experience, sync the entire tree."
|
"experience, sync the entire tree."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if existing:
|
||||||
self._CheckForBloatedProjects(all_projects, opt)
|
self._CheckForBloatedProjects(all_projects, opt)
|
||||||
|
|
||||||
if not opt.quiet:
|
if not opt.quiet:
|
||||||
|
|||||||
Reference in New Issue
Block a user