From ba23f9978a3e5f47051ad611a71996b26de4c02e Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 9 Jul 2021 15:12:58 -0700 Subject: [PATCH] Quiet git init.defaultBranch hints during test runs --- tests/lib/test-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.1