[gclient] Reuse rev-parse output in verbose mode
If verbose mode is used, we call rev-parse x2 for each git dependency. Reusing the value results in 10% reduction for gclient no-op sync (~2s savings). R=gavinmak@google.com Change-Id: I7d1a0a13f2aea3df20b25816fef22ef777a12bf5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5146995 Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>changes/95/5146995/4
parent
edba22d4eb
commit
751c658593
Loading…
Reference in New Issue