提交 c0c74a88 编写于 作者: J Junio C Hamano

git-merge: Properly quote $merge_msg variable.

Otherwise it would go though shell expansion...
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 46dc9412
......@@ -293,7 +293,7 @@ for remote
do
echo $remote
done >"$GIT_DIR/MERGE_HEAD"
echo $merge_msg >"$GIT_DIR/MERGE_MSG"
echo "$merge_msg" >"$GIT_DIR/MERGE_MSG"
if test "$merge_was_ok" = t
then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册