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/+/1585707 Reviewed-by: Karen Qian <karenqian@google.com> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>changes/07/1585707/2
parent
c62691b671
commit
199182fd64
Loading…
Reference in New Issue