@matheusbsbs / matheus-bagliano / commits / c0c74a88f9
Fork 0

git-merge: Properly quote $merge_msg variable.

Otherwise it would go though shell expansion... Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Feb 3, 2006 at 19:41 UTC c0c74a88f9016dad4665a4f1d446cebb2bdb1968
1 file changed +1 -1
git-merge.sh
+1 -1
@@ -293,7 +293,7 @@ for remote
293 do
294 echo $remote
295 done >"$GIT_DIR/MERGE_HEAD"
296 -echo $merge_msg >"$GIT_DIR/MERGE_MSG"
296 +echo "$merge_msg" >"$GIT_DIR/MERGE_MSG"
297
298 if test "$merge_was_ok" = t
299 then