Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gerrit: allow setAuth to fallthrough to netrc lookup
When git has no http cookies, the request for http cookies will fail because git will exit(1). Ignore this failure because the output is properly tested either way. This allows authentication to fallthrough to the netrc lookup. Correct the netrc lookup under windows. git reads the netrc file as "_netrc" in the users home directory. Add a warning at the end of the function that no authentication was set. Fixes golang/go#26782 Change-Id: I0ba94ff7fa4b6038d6117156dcc729ddf4616fdc Reviewed-on: https://go-review.googlesource.com/127855 Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information