gclient: Fix logic to match --patch-ref with dependencies.

Accept cases when the origin in --patch-ref ends in .git but the URL in
.gclient or DEPS doesn't.

R=agable@chromium.org

Bug: 643346
Change-Id: I25e6fd8400b09c7e249578cfbd7e9485bab9ea85
Reviewed-on: https://chromium-review.googlesource.com/1030893
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Aaron Gable <agable@chromium.org>
This commit is contained in:
Edward Lesmes
2018-04-26 14:56:55 -04:00
committed by Commit Bot
parent e38cf570fc
commit 990148ed24
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,6 @@ Once upon a time, a budding web browser dev team needed a CI system.
All they had was one poor machine under a desk, and its name was Batty,
the Build and Test Yeti.
Then suddenly, and without delay, Batty the Build and Test Yeti
😒