From: Scott Worley Date: Fri, 9 Jul 2021 22:12:58 +0000 (-0700) Subject: Quiet git init.defaultBranch hints during test runs X-Git-Tag: v3.0.5~3 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/ba23f9978a3e5f47051ad611a71996b26de4c02e?ds=sidebyside Quiet git init.defaultBranch hints during test runs --- diff --git a/tests/lib/test-setup.sh b/tests/lib/test-setup.sh index 86c23a2..f3eb661 100644 --- a/tests/lib/test-setup.sh +++ b/tests/lib/test-setup.sh @@ -19,7 +19,7 @@ foo_setup() { repo_dir="`mktemp -d`" repo="$repo_dir/repo" - git init "$repo" + git -c init.defaultBranch=master init "$repo" ( cd "$repo" echo Contents > test-file