chore: set initial branch name for bogo checkout.

Prior to this commit the `fetch-and-build` script with newer `git`
versions would spit out an ANSI coloured warning about choosing an
initial branch name for the bogo test-suite checkout.

This commit simply specifies the `--initial-branch` to be `main` to
silence the unnecessary output.
This commit is contained in:
Daniel McCarney 2023-03-01 10:23:50 -05:00 committed by Dirkjan Ochtman
parent 2149288539
commit 1ee4a2ba92
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -ex
mkdir -p bogo
pushd bogo
git init
git init --initial-branch main
git config core.sparsecheckout 1
cat << EOF > .git/info/sparse-checkout
go.mod