From: Junio C Hamano Date: Wed, 21 Nov 2018 13:58:04 +0000 (+0900) Subject: Merge branch 'ma/t7005-bash-workaround' into maint X-Git-Tag: v2.19.2~15 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6262f5c4711df705a568a56f3cc2eae34bdc0d0f?hp=6b57374d3e618c856fd69795919aa7ea191ec0c9 Merge branch 'ma/t7005-bash-workaround' into maint Test fix. * ma/t7005-bash-workaround: t7005-editor: quote filename to fix whitespace-issue --- diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index b2ca77b338..5fcf281dfb 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -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)"