Skip to content

Commit 2523dc9

Browse files
committed
7500: really permit a directory whose name contains spaces
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
1 parent a0ba37e commit 2523dc9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

t/t7500-commit-template-squash-signoff.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ EOF
132132
test_expect_success 'commit message from template with whitespace issue' '
133133
echo "content galore" >>foo &&
134134
git add foo &&
135-
GIT_EDITOR=\""$TEST_DIRECTORY"\"/t7500/add-whitespaced-content \
135+
TEST_DIRECTORY="$TEST_DIRECTORY" \
136+
GIT_EDITOR="\$TEST_DIRECTORY"/t7500/add-whitespaced-content \
136137
git commit --template "$TEMPLATE" &&
137138
commit_msg_is "commit message"
138139
'

0 commit comments

Comments
 (0)