aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_download_git_bareRepository.txt
blob: 8050461c658da7bff4d2c58535f6b44ebe4e25c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[short] skip
[!git] skip
[!GOOS:linux] skip  # Uses XDG_CONFIG_HOME

env GIT_CONFIG_GLOBAL=$WORK/.gitconfig
env GOPRIVATE=vcs-test.golang.org

go mod download -x

-- go.mod --
module test

go 1.18

require vcs-test.golang.org/git/gitrepo1.git v1.2.3

-- $WORK/.gitconfig --
[safe]
bareRepository = explicit