commit.c::print_summary: do not release the format string too early