зеркало из https://github.com/microsoft/git.git
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:
Коммит
f766176663
|
@ -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)"
|
||||
|
|
Загрузка…
Ссылка в новой задаче