• Bryan C. Mills's avatar
    cmd/go/internal/modfetch/codehost: add lockfiles for repos · a2b4ac6c
    Bryan C. Mills authored
    The lockfile guards calls that may change the repo's filesystem contents.
    
    We don't know how robust VCS implementations are to running
    simultaneous commands, and this way we don't need to care: only one
    'go' command at a time will modify any given repository.
    
    If we can guarantee that particular VCS implementations are robust
    enough across all of the VCS tool versions we support, we may be able
    to remove some of this locking to improve parallelism.
    
    Updates #26794
    
    Change-Id: I578524974f5015629239cef43d3793aee2b9075c
    Reviewed-on: https://go-review.googlesource.com/c/146381
    Run-TryBot: Bryan C. Mills <bcmills@google.com>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    a2b4ac6c
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...