1
0
mirror of https://github.com/golang/go synced 2024-09-30 08:18:40 -06:00
go/src
Meng Zhuo bc1f9d20b4 cmd/go: use shallow clones for new git checkouts
Currently go get will clone the full history of git repos.
We can improve the download waiting time/size by passing depth argument.

The docs about shallow clones and the --depth argument are here:
https://git-scm.com/docs/git-clone
https://git-scm.com/docs/git-pull

Fixes #13078

Change-Id: Ie891d905d9c77f6ecadf7dcd5b44b477f4e079e0
Reviewed-on: https://go-review.googlesource.com/16360
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-11-11 14:28:58 +00:00
..
archive archive/tar: detect truncated files 2015-11-06 04:31:26 +00:00
bufio
builtin
bytes
cmd cmd/go: use shallow clones for new git checkouts 2015-11-11 14:28:58 +00:00
compress
container
crypto crypto/tls: len(clientRandom) used for serverRandom source 2015-11-10 22:17:54 +00:00
database/sql
debug
encoding html/template, encoding/asn1: fix test errors 2015-11-10 00:30:41 +00:00
errors
expvar
flag
fmt
go runtime: break atomics out into package runtime/internal/atomic 2015-11-10 17:38:04 +00:00
hash
html html/template, encoding/asn1: fix test errors 2015-11-10 00:30:41 +00:00
image
index/suffixarray
internal internal/syscall/unix: eliminate non-trivial randomTrap initializer 2015-11-05 00:09:59 +00:00
io
log
math math: fix bad shift in Expm1 2015-10-30 22:55:19 +00:00
mime
net crypto/tls: don't send IP literals as SNI values. 2015-11-10 22:17:16 +00:00
os os: reduce allocations in Readdir on unix 2015-10-30 19:47:55 +00:00
path path/filepath: fix EvalSymlinks(".") on windows 2015-11-01 04:45:37 +00:00
reflect reflect: Comment fix 2015-10-27 15:46:29 +00:00
regexp
runtime runtime: don't call msanread when running on the system stack 2015-11-11 06:04:04 +00:00
sort
strconv
strings strings: add asm version of Index() for short strings on amd64 2015-11-03 16:04:28 +00:00
sync runtime: break atomics out into package runtime/internal/atomic 2015-11-10 17:38:04 +00:00
syscall syscall: allow nacl's fake network code to Listen twice on the same address 2015-11-04 16:03:21 +00:00
testing
text text/template: remove redundant indirect 2015-10-28 02:51:40 +00:00
time
unicode
unsafe
vendor/golang.org/x/net/http2/hpack
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc