Merge branch 'ma/t7005-bash-workaround'

Test fix.

* ma/t7005-bash-workaround:
  t7005-editor: quote filename to fix whitespace-issue
This commit is contained in:
Junio C Hamano 2018-10-26 14:22:09 +09:00
Родитель e7b07376e5 b1492bf315
Коммит f766176663
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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