Commit 0c77ba96 authored by Michael Hoisie's avatar Michael Hoisie Committed by Russ Cox

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

R=rsc
CC=golang-dev
https://golang.org/cl/1395041
parent 69879f04
...@@ -102,7 +102,7 @@ var git = vcs{ ...@@ -102,7 +102,7 @@ var git = vcs{
cmd: "git", cmd: "git",
metadir: ".git", metadir: ".git",
clone: "clone", clone: "clone",
update: "checkout", update: "pull",
pull: "fetch", pull: "fetch",
log: "log", log: "log",
logLimitFlag: "-n1", logLimitFlag: "-n1",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment