Skip to content

Commit 04d12d6

Browse files
avargitster
authored andcommitted
test-lib: reformat argument list in test_create_repo()
Reformat an argument list changed in 675704c (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ba7d318 commit 04d12d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/test-lib-functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,8 +1259,8 @@ test_create_repo () {
12591259
mkdir -p "$repo"
12601260
(
12611261
cd "$repo" || error "Cannot setup test environment"
1262-
"${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" -c \
1263-
init.defaultBranch="${GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME-master}" \
1262+
"${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" \
1263+
-c init.defaultBranch="${GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME-master}" \
12641264
init \
12651265
"--template=$GIT_BUILD_DIR/templates/blt/" >&3 2>&4 ||
12661266
error "cannot run git init -- have you built things yet?"

0 commit comments

Comments
 (0)