t0302 & t3900: add forgotten quotes
[gitweb.git] / t / t7500-commit.sh
index 116885a260a56f94550ace2b541498a5e6f8e877..ea009b488ab27f536decfea28335eca6cd911a37 100755 (executable)
@@ -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"
 '