Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH v2 3/3] commit: show interesting ident information in summary

From: Jeff King <hidden>
Date: 2016-06-15 22:48:03

Possibly related (same subject, not in this thread)

On Sun, Jan 17, 2010 at 12:59:53AM -0800, Junio C Hamano wrote:
quoted
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help