Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ma/t7005-bash-workaround' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 21 Nov 2018 13:58:04 +0000
(22:58 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 21 Nov 2018 13:58:04 +0000
(22:58 +0900)
Test fix.
* ma/t7005-bash-workaround:
t7005-editor: quote filename to fix whitespace-issue
t/t7005-editor.sh
patch
|
blob
|
history
raw
(from parent 1:
6b57374
)
diff --git
a/t/t7005-editor.sh
b/t/t7005-editor.sh
index b2ca77b3384c97954991eae9c5af89c4d8d8035e..5fcf281dfbf8d601fc934d890db79f7284b19402 100755
(executable)
--- 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)"