Skip to content

Commit f766176

Browse files
committed
Merge branch 'ma/t7005-bash-workaround'
Test fix. * ma/t7005-bash-workaround: t7005-editor: quote filename to fix whitespace-issue
2 parents e7b0737 + b1492bf commit f766176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7005-editor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ do
112112
done
113113

114114
test_expect_success 'editor with a space' '
115-
echo "echo space >\$1" >"e space.sh" &&
115+
echo "echo space >\"\$1\"" >"e space.sh" &&
116116
chmod a+x "e space.sh" &&
117117
GIT_EDITOR="./e\ space.sh" git commit --amend &&
118118
test space = "$(git show -s --pretty=format:%s)"

0 commit comments

Comments
 (0)