Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 16:58:04 +0300
committerJunio C Hamano <gitster@pobox.com>2018-11-21 16:58:04 +0300
commit6262f5c4711df705a568a56f3cc2eae34bdc0d0f (patch)
treed23cb393d7c573d4ad584ab6eadafe7be73df8d8
parent6b57374d3e618c856fd69795919aa7ea191ec0c9 (diff)
parentb1492bf3151263f9fc72dafe468e84e6c01ac0c9 (diff)
Merge branch 'ma/t7005-bash-workaround' into maint
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)"