• Russ Cox's avatar
    cmd/go: ignore /tmp/go.mod · c265c893
    Russ Cox authored
    Two different people have created /tmp/go.mod for experimentation
    and then had other tests that create fresh work directories
    below /tmp fail unexpectedly because the go command finds
    /tmp/go.mod. Refuse to use /tmp/go.mod. /tmp/anything/go.mod is fine.
    
    Fixes #26708.
    
    Change-Id: I2a4f61ea63099cff59fbf9e8798e5dcefefd5557
    Reviewed-on: https://go-review.googlesource.com/129063
    Run-TryBot: Russ Cox <rsc@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    c265c893
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...