aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-10-25 10:28:50 -0400
committerGopher Robot <gobot@golang.org>2022-10-25 15:36:24 +0000
commit2d63305b8446c69d79730ff556385cabe09f54ec (patch)
treecd06d58cc804b446f6dfb67130456af95ce8e152 /src/debug/elf
parentf9bd1d0f113db5a92e59592f0108dad45a9308ad (diff)
downloadgo-2d63305b8446c69d79730ff556385cabe09f54ec.tar.xz
cmd/go: make vcstest repo scripts compatible with old Git versions
The scripts added in CL 421455 passed on the TryBots, but failed on a subset of the builders that have older 'git' binaries installed. Notably, the older versions of git do not support: - 'git branch -m' before the current branch has a commit - 'init.defaultBranch' in the '.gitconfig' file, and - 'git branch -c'. We address those by, respectively: - waiting to run 'git branch -m' until after the first commit - always running 'git branch -m' explicitly to set the branch name, and - using 'git checkout' instead of 'git branch -c' to set branch parents. Updates #27494. Change-Id: I42f012f5add8f31e41d077d752d8268aacbce8a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/445355 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/debug/elf')
0 files changed, 0 insertions, 0 deletions