]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7500-commit.sh
Merge branch 'js/test-with-ws-in-path'
[thirdparty/git.git] / t / t7500-commit.sh
index 5739d3ed232268331517d59600d1e72b625360d2..1d33c5feb3e23744a5709e2f9bf429d23f49101f 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"
 '