Refresh the git cache when applying patches in gclient
https://crrev.com/c/3206616 was landed to refresh remote/origin/main. However, it only updated the workspace so that the stale info in the mirror can possibly cause unrelated commits to be picked in the cherry-pick command in [0] This patch is to update the git cache in Mirror, so that the cherry pick will work with the up-to-date commit history. [0]: https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:gclient_scm.py;l=616;drc=8b60ab5798150d5ea53a89a968edaa62e60d2b36 Bug: 40199928, 407795715 Change-Id: Icf691bf0f50ce2080e8163c91576f00afa60b154 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6442501 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Scott Lee <ddoman@chromium.org>changes/01/6442501/4
parent
f5b53c0e98
commit
b0de8a9432
Loading…
Reference in New Issue