aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2025-12-12 19:03:05 +1100
committerJoel Sing <joel@sing.id.au>2026-01-02 19:26:36 -0800
commitf8ee0f84753b22254d217bf28ce8ecca7db7025c (patch)
treef145b568e8ad8435926badfa4b986c4483178069 /src/os/exec/exec.go
parentb094749bad125db5b89e48248bbb9c7dc1292a95 (diff)
downloadgo-f8ee0f84753b22254d217bf28ce8ecca7db7025c.tar.xz
cmd/go/testdata/vcstest/git: use git commands that work on older git versions
On older versions of git (such as 2.25.1), `git branch -M master` fails after `git init` - use `git checkout -b master` instead, which works across multiple versions. Fixes tests on the rather outdated linux/mips* builders. Change-Id: Id86ec82b37a8d2c3131f449276b13989d097d106 Reviewed-on: https://go-review.googlesource.com/c/go/+/729600 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions