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
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-26 08:22:09 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-26 08:22:09 +0300
commitf76617666331a6041e001f64ba597ba7abc1ffa8 (patch)
treea388db6c58c6500b88f5850b0499c0bf3ca8fc52 /t
parente7b07376e5fe416e9aab571e4711e630f9387886 (diff)
parentb1492bf3151263f9fc72dafe468e84e6c01ac0c9 (diff)
Merge branch 'ma/t7005-bash-workaround'
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)"