New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: disable go get chatter about git config #10922
Comments
I can't reproduce this at tip. Near as I can tell, those lines come from src/cmd/go/vcs.go:309, but are only printed when the command fails. That'll happen if, for instance, you don't have a remote called "origin" in an existing repository. |
Can't reproduce too. at commit 80864cf |
I can now reproduce it, I dropped the
|
The error message is improved in this CL: https://go-review.googlesource.com/10475 |
CL https://golang.org/cl/10475 mentions this issue. |
- Let runOutput return the error message - When `git config ...` returns empty buffer, it means the config key is correct, but there is no corresponding value. - Return the correct error when the url of remote origin is not found. - Update error message Fixes: #10922 Change-Id: I3f8880f6717a4f079b840d1249174378d36bca1b Reviewed-on: https://go-review.googlesource.com/10475 Reviewed-by: Russ Cox <rsc@golang.org>
Fixes syntax was wrong. |
This looks like bad debugging prints:
The text was updated successfully, but these errors were encountered: