git_cache: on upload, run "git gc" only if necessary.
If the destination cache file already exists, "git gc" isn't useful. R=karenqian Bug: 943696 Change-Id: I1fe3ab04713996b962012242edb6cbdb279f4874 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1585707Reviewed-by: Karen Qian <karenqian@google.com> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Showing
Please
register
or
sign in
to comment