[PATCH v5 09/11] test-lib: reformat argument list in test_create_repo()
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Apr 23, 2021, 07:21 UTC
- Message-ID
- <patch-09.11-f67245ba40d-20210423T072006Z-avarab@gmail.com>
- In-Reply-To
- <cover-00.11-00000000000-20210423T072006Z-avarab@gmail.com>
Reformat an argument list changed in 675704c74dd (init: provide useful advice about init.defaultBranch, 2020-12-11) to have the "-c" on the same line as the argument it sets. This whitespace-only change makes it easier to review a subsequent commit.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- t/test-lib-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 701518f5fd3..7101030f042 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -1250,8 +1250,8 @@ test_create_repo () { mkdir -p "$repo" ( cd "$repo" || error "Cannot setup test environment" - "${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" -c \ - init.defaultBranch="${GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME-master}" \ + "${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" \ + -c init.defaultBranch="${GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME-master}" \ init \ "--template=$GIT_BUILD_DIR/templates/blt/" >&3 2>&4 || error "cannot run git init -- have you built things yet?"
-- 2.31.1.737.g98b508eba36