From 181879dadcd667c760f91deecf6eeab9bbe21c86 Mon Sep 17 00:00:00 2001 From: Nico Korthout Date: Tue, 9 Aug 2022 11:16:12 +0200 Subject: [PATCH] fix(test): specify specific initial branch (#272) I was unable to run the acceptance tests anymore, after changing my global git config to use `main` as the default initial branch. Other users might also have specified a different branch. We can solve this by being specific about the initial branch name --- test/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/setup.sh b/test/setup.sh index e9cf623..13d8ecd 100755 --- a/test/setup.sh +++ b/test/setup.sh @@ -61,7 +61,7 @@ setup () { mkdir $REPOSITORY_NAME cd $REPOSITORY_NAME - git init + git init --initial-branch='master' echo "[commit]" >> .git/config echo " gpgsign = false" >> .git/config