summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-26 14:22:09 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-26 14:22:09 +0900
commitf76617666331a6041e001f64ba597ba7abc1ffa8 (patch)
treea388db6c58c6500b88f5850b0499c0bf3ca8fc52
parentMerge branch 'rs/subtree-fixes' (diff)
parentt7005-editor: quote filename to fix whitespace-issue (diff)
downloadtgif-f76617666331a6041e001f64ba597ba7abc1ffa8.tar.xz
Merge branch 'ma/t7005-bash-workaround'
Test fix. * ma/t7005-bash-workaround: t7005-editor: quote filename to fix whitespace-issue
-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)"