summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-26 05:22:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-26 05:22:09 (GMT)
commitf76617666331a6041e001f64ba597ba7abc1ffa8 (patch)
treea388db6c58c6500b88f5850b0499c0bf3ca8fc52
parente7b07376e5fe416e9aab571e4711e630f9387886 (diff)
parentb1492bf3151263f9fc72dafe468e84e6c01ac0c9 (diff)
downloadgit-f76617666331a6041e001f64ba597ba7abc1ffa8.zip
git-f76617666331a6041e001f64ba597ba7abc1ffa8.tar.gz
git-f76617666331a6041e001f64ba597ba7abc1ffa8.tar.bz2
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 b2ca77b..5fcf281 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)"