Use git fetch --no-tags to fetch commits to apply via cherry-pick.
This changes the behaviour when applying a patch to not fetch tags along with the patch being applied. The fetch to apply a patch only needs the commits that will be cherry picked, it does not need tags. Fetching tags creates slow bottlenecks if a repo such as chromium has 10k+ tags. Using --no-tags prevents the server from sending the list of all tags and the client from processing them. Bug: 1019824 Change-Id: I756beb8c2b0c7ec3c0fc48b7431d0cf8c0bbbbd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1894393Reviewed-by:Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Erik Chen <erikchen@chromium.org> Commit-Queue: danakj <danakj@chromium.org>
Showing
Please
register
or
sign in
to comment