fmt-merge-msg: use pretty.c routines
authorStephen Boyd <bebarino@gmail.com>
Wed, 24 Mar 2010 07:16:01 +0000 (00:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Mar 2010 02:40:43 +0000 (19:40 -0700)
commit15cb500786c3bc618dafa3c6bc9535236e7bfdcd
treedfd18ee625739792003d9cdaaee027d0eba455dc
parent6d6f6e68c3e2a18c3f02eba98e35ea13204ec68e
fmt-merge-msg: use pretty.c routines

This command duplicates functionality of the '%s' pretty format.
Simplify the code a bit by using the pretty printing routine
instead of open-coding it here.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fmt-merge-msg.c