To demonstrate this more clearly. Here I've deleted the the x/image repo
and then cloned from github. GOPATH is ~/Development.
~/Development/src/
golang.org/x $ git clone
https://github.com/golang/image.git
Cloning into 'image'...
remote: Counting objects: 920, done.
remote: Total 920 (delta 0), reused 0 (delta 0), pack-reused 920
Receiving objects: 100% (920/920), 2.36 MiB | 610.00 KiB/s, done.
Resolving deltas: 100% (499/499), done.
Checking connectivity... done.
~/Development/src/
golang.org/x $ go get -u
golang.org/x/image/...
package
golang.org/x/image/bmp:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/math/f64:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/font:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/font/plan9font:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/math/f32:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/riff:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/tiff:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/tiff/lzw:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/vp8:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/vp8l:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/webp:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
package
golang.org/x/image/webp/nycbcra:
golang.org/x/image is a custom import path for
https://go.googlesource.com/image, but /home/daniel/Development/src/
golang.org/x/image is checked out from
https://github.com/golang/image.git
On Sun, 2015-09-13 at 21:30 +0000, Dan Kortschak wrote:
> It was in the same location in my GOPATH and my file system globally.
> That error is a result of editing the .git/config so it pulls from
> github instead of googlesource - because the latter is regularly
> broken.
>
> On 14/09/2015, at 1:59 AM, "Brad Fitzpatrick"