]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix "go get -u" for git repositories.
authorShenghou Ma <minux.ma@gmail.com>
Sun, 7 Jul 2013 15:06:30 +0000 (23:06 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 7 Jul 2013 15:06:30 +0000 (23:06 +0800)
commit8b16a8bbc10c9cfc07123311e1cc05263c7beec9
treede4527b103ed330f71956e53da08b495c8058886
parent3c3ce8e7fbe98a233cadbc59a05afdbbcacb0fe5
cmd/go: fix "go get -u" for git repositories.
CL 10869046 changed cmd/go to checkout master branch, so
for "go get -u" to work, it must "git pull" instead of
"git fetch". Added "--ff-only" so that it won't accidentally
overwrite user changes.

R=dsymonds
CC=golang-dev
https://golang.org/cl/10907043
src/cmd/go/vcs.go