Merge branch 'ma/t7005-bash-workaround' into maint

Test fix.

* ma/t7005-bash-workaround:
  t7005-editor: quote filename to fix whitespace-issue
This commit is contained in:
Junio C Hamano 2018-11-21 22:58:04 +09:00
commit 6262f5c471

View File

@ -112,7 +112,7 @@ do
done
test_expect_success 'editor with a space' '
echo "echo space >\$1" >"e space.sh" &&
echo "echo space >\"\$1\"" >"e space.sh" &&
chmod a+x "e space.sh" &&
GIT_EDITOR="./e\ space.sh" git commit --amend &&
test space = "$(git show -s --pretty=format:%s)"