Closed rsc closed 9 years ago
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 80864cf1f7804e23be215245a70d70efd1116bb4
I can now reproduce it, I dropped the origin
remote from rsc.io/benchstat
and re-run command again, it shows the same message.
go get -u rsc.io/benchstat
# cd /Users/c9s/src/rsc.io/benchstat; git config remote.origin.url
# cd /Users/c9s/src/rsc.io/benchstat; git pull --ff-only
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
The error message is improved in this CL: https://go-review.googlesource.com/10475
CL https://golang.org/cl/10475 mentions this issue.
Fixes syntax was wrong.
This looks like bad debugging prints: