builtin-fmt-merge-msg: fix bugs in --file option
authorMichael Coleman <tutufan@gmail.com>
Wed, 28 Feb 2007 05:44:42 +0000 (23:44 -0600)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Feb 2007 06:02:41 +0000 (22:02 -0800)
commit163d7b9b8536d206eda7eb0eccb0fc211812346f
tree3da13237a1d8c01e31c5669a1e24f44c62d610f3
parenta91d49cd369ac5fc8e1a17357a975d09cf6c8cb3
builtin-fmt-merge-msg: fix bugs in --file option

If --file's argument is missing, don't crash.  If it cannot be opened,
die with an error message.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-fmt-merge-msg.c