summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:58:04 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:58:04 +0900
commit6262f5c4711df705a568a56f3cc2eae34bdc0d0f (patch)
treed23cb393d7c573d4ad584ab6eadafe7be73df8d8 /t
parentMerge branch 'jc/how-to-document-api' into maint (diff)
parentt7005-editor: quote filename to fix whitespace-issue (diff)
downloadtgif-6262f5c4711df705a568a56f3cc2eae34bdc0d0f.tar.xz
Merge branch 'ma/t7005-bash-workaround' into maint
Test fix. * ma/t7005-bash-workaround: t7005-editor: quote filename to fix whitespace-issue
Diffstat (limited to 't')
-rwxr-xr-xt/t7005-editor.sh2
1 files changed, 1 insertions, 1 deletions
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)"