diff --git a/pretty.c b/pretty.c
index 7cb3a2af508bb5667cd74304f72b50766c749990..742b48bbd615d8915a090a271b7446accbaa8412 100644 (file)
--- a/pretty.c
+++ b/pretty.c
case 'e': /* encoding */
strbuf_add(sb, msg + c->encoding.off, c->encoding.len);
return 1;
+ case 'B': /* raw body */
+ /* message_off is always left at the initial newline */
+ strbuf_addstr(sb, msg + c->message_off + 1);
+ return 1;
}
/* Now we need to parse the commit message. */