From bd9e85a2d234c6af838414fbf6303017cea421a7 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 5 Jul 2022 18:35:15 +1000 Subject: [PATCH] init repo before setting username --- test/integration/excludeGitIgnore/setup.sh | 5 ++--- test/integration/excludeMenu/setup.sh | 4 ++-- test/integration/gitignoreMenu/setup.sh | 5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/test/integration/excludeGitIgnore/setup.sh b/test/integration/excludeGitIgnore/setup.sh index ce9563394..b637ff2a8 100644 --- a/test/integration/excludeGitIgnore/setup.sh +++ b/test/integration/excludeGitIgnore/setup.sh @@ -4,11 +4,10 @@ set -e cd $1 +git init + git config user.email "CI@example.com" git config user.name "CI" -git init - - echo test1 > .gitignore diff --git a/test/integration/excludeMenu/setup.sh b/test/integration/excludeMenu/setup.sh index 9643b2b67..ae599ff5f 100644 --- a/test/integration/excludeMenu/setup.sh +++ b/test/integration/excludeMenu/setup.sh @@ -3,11 +3,11 @@ set -e cd $1 -git config user.email "CI@example.com" -git config user.name "CI" git init +git config user.email "CI@example.com" +git config user.name "CI" echo test1 > myfile1 diff --git a/test/integration/gitignoreMenu/setup.sh b/test/integration/gitignoreMenu/setup.sh index 9643b2b67..163ed456d 100644 --- a/test/integration/gitignoreMenu/setup.sh +++ b/test/integration/gitignoreMenu/setup.sh @@ -3,11 +3,10 @@ set -e cd $1 -git config user.email "CI@example.com" -git config user.name "CI" git init +git config user.email "CI@example.com" +git config user.name "CI" echo test1 > myfile1 -