Re: [PATCH v2 3/3] commit: show interesting ident information in summary
On Sun, Jan 17, 2010 at 12:59:53AM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> > @@ -1085,7 +1118,7 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
> > struct pretty_print_context ctx = {0};
> > struct strbuf buf = STRBUF_INIT;
> > ctx.date_mode = DATE_NORMAL;
> > - format_commit_message(commit, format + 7, &buf, &ctx);
> > + format_commit_message(commit, format.buf + 7, &buf, &ctx);
> > printf("%s\n", buf.buf);
>
> But sometimes log_tree_commit() doesn't show the header. Most notably for
> merges. What string are we using for format_commit_message()? Oops.Ugh. Thank you and good catch.
-Peff