{"thread":{"id":"23148","subject":"Feature Request: raw body in format strings","startedAt":"2010-03-23T03:28:44Z","lastAt":"2010-03-23T08:54:07Z","messageCount":2,"participants":["Eli Barzilay","Ilari Liusvaara"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"137606","messageId":"m3wrx3ogwj.fsf@winooski.ccs.neu.edu","threadId":"23148","inReplyTo":null,"subject":"Feature Request: raw body in format strings","fromName":"Eli Barzilay","fromEmail":"eli@barzilay.org","sentAt":"2010-03-23T03:28:44Z","receivedAt":"2010-03-23T03:28:44Z","isPatch":false,"sender":{"key":"eli@barzilay.org","avatar":"https://avatars.githubusercontent.com/u/185905?v=4"},"body":"I've asked here whether there is any way to get the full content of a\ncommit in a format string and got no replies.  What I want is close to\n\"%s%b\" except that \"%s\" will be the first paragraph wrapped into a\nsingle line.\n\nLooking at the code I see that there is no way to get that, but it's\nreally easy to add it.  Does it make sense to do so?  I have a change\nthat adds a \"%B\" that does just that, and it seems that it works fine.\n(But I don't know what's the procedure for sending patches.)\n\n-- \n          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:\n                    http://barzilay.org/                   Maze is Life!\n"},{"id":"137618","messageId":"20100323085407.GA29220@LK-Perkele-V2.elisa-laajakaista.fi","threadId":"23148","inReplyTo":"m3wrx3ogwj.fsf@winooski.ccs.neu.edu","subject":"Re: Feature Request: raw body in format strings","fromName":"Ilari Liusvaara","fromEmail":"ilari.liusvaara@elisanet.fi","sentAt":"2010-03-23T08:54:07Z","receivedAt":"2010-03-23T08:54:07Z","isPatch":false,"sender":{"key":"ilari.liusvaara@elisanet.fi","avatar":null},"body":"On Mon, Mar 22, 2010 at 11:28:44PM -0400, Eli Barzilay wrote:\n> \n> Looking at the code I see that there is no way to get that, but it's\n> really easy to add it.  Does it make sense to do so?\n\nI think it makes sense.\n\n> I have a change\n> that adds a \"%B\" that does just that, and it seems that it works fine.\n> (But I don't know what's the procedure for sending patches.)\n\nSee Documentation/SubmittingPatches in git source code.\n\n-Ilari\n"}]}