commit.c::print_summary: do not release the format string too early
authorJunio C Hamano <gitster@pobox.com>
Sun, 17 Jan 2010 08:57:51 +0000 (00:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Jan 2010 08:57:51 +0000 (00:57 -0800)
commitfc6f19fe2b49928dcb4d2dfac88ca38a47d64cde
tree2b7c664a99df532dfc172f4a9fc38e731790984f
parentb706fcfe93262e485976ed2bc648b779cc47981f
commit.c::print_summary: do not release the format string too early

When we are showing a clean merge, log_tree_commit() won't show the header
and we would need the format string to format the commit summary ourselves.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c