Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7502: properly quote GIT_EDITOR
[gitweb.git]
/
t
/
t7502-commit.sh
diff --git
a/t/t7502-commit.sh
b/t/t7502-commit.sh
index ddce53a96456c96d842ba932618102fd233a5e68..3f9fb55a48494f0096d9fd464dcf93009e523156 100755
(executable)
--- a/
t/t7502-commit.sh
+++ b/
t/t7502-commit.sh
@@
-290,7
+290,7
@@
test_expect_success 'do not fire editor in the presence of conflicts' '
test_must_fail git cherry-pick -n master &&
echo "editor not started" >.git/result &&
(
- GIT_EDITOR="
$(pwd)/.git/FAKE_EDITOR
" &&
+ GIT_EDITOR="
\"$(pwd)/.git/FAKE_EDITOR\"
" &&
export GIT_EDITOR &&
test_must_fail git commit
) &&