summaryrefslogtreecommitdiff
path: root/t/t7500-commit.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-01-09 14:32:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-01-09 14:32:55 -0800
commitd702d5c5bd675d203a2ced2786bf82ef96b4ed2b (patch)
treed96486724b84eaeb2eab7c7b3ed2c7b7f72d5700 /t/t7500-commit.sh
parentMerge branch 'bc/submitting-patches-in-asciidoc' (diff)
parentt0302 & t3900: add forgotten quotes (diff)
downloadtgif-d702d5c5bd675d203a2ced2786bf82ef96b4ed2b.tar.xz
Merge branch 'js/test-with-ws-in-path'
Test fixes. * js/test-with-ws-in-path: t0302 & t3900: add forgotten quotes Allow the test suite to pass in a directory whose name contains spaces
Diffstat (limited to 't/t7500-commit.sh')
-rwxr-xr-xt/t7500-commit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
index 5739d3ed23..1d33c5feb3 100755
--- a/t/t7500-commit.sh
+++ b/t/t7500-commit.sh
@@ -130,8 +130,8 @@ EOF
test_expect_success 'commit message from template with whitespace issue' '
echo "content galore" >>foo &&
git add foo &&
- GIT_EDITOR="$TEST_DIRECTORY"/t7500/add-whitespaced-content git commit \
- --template "$TEMPLATE" &&
+ GIT_EDITOR=\""$TEST_DIRECTORY"\"/t7500/add-whitespaced-content \
+ git commit --template "$TEMPLATE" &&
commit_msg_is "commit message"
'