1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:14:41 -07:00

goinstall: Use 'git pull' instead of 'git checkout' when updating a git repo.

R=rsc
CC=golang-dev
https://golang.org/cl/1395041
This commit is contained in:
Michael Hoisie 2010-06-01 14:27:45 -07:00 committed by Russ Cox
parent 69879f0414
commit 0c77ba96da

View File

@ -102,7 +102,7 @@ var git = vcs{
cmd: "git",
metadir: ".git",
clone: "clone",
update: "checkout",
update: "pull",
pull: "fetch",
log: "log",
logLimitFlag: "-n1",