Set HEAD on repo init, not after downloading repo
git_cache incorrectly sets HEAD to main. It should be done during repo initialization, and not after files are downloaded. Current implementation overrides HEAD settings instead of keping whatever is on remote. R=aravindvasudev@google.com Fixed: 1475252 Change-Id: Idba87e2774ecbf249630a207d284f91c0f4a8a38 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4820461 Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>changes/61/4820461/2
parent
e40f71cbde
commit
5146d78ee5
Loading…
Reference in New Issue