Fix skip-ensure-authenticated config
https://crbug.com/603378#c4 introduces gerrit.skipEnsureAuthenticated as simple workaround to allow git_cl work with `sso://` URLs. However, git_cl still warns users to not use `sso://` and all the gerrit API calls break. This change is a fix quick to allow git_cl to work with `sso://` when gerrit.skipEnsureAuthenticated is set to true in .git/config. The authentication check will be fixed to support `sso://` is a follow-up change. Bug: 1431292 Change-Id: Iefc43d205ac3b7fb67b32092567fd13eded205a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4404933 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>changes/33/4404933/10
parent
b52b190cb8
commit
0e3589eaf8
Loading…
Reference in New Issue