# Feature Request: raw body in format strings

2 messages from 2010-03-23 to 2010-03-23. Participants: Eli Barzilay, Ilari Liusvaara.
Thread: https://gitlist.dev/t/23148

## Eli Barzilay, 2010-03-23 03:28

Subject: Feature Request: raw body in format strings
Message-ID: <m3wrx3ogwj.fsf@winooski.ccs.neu.edu>
URL: https://gitlist.dev/e/m3wrx3ogwj.fsf%40winooski.ccs.neu.edu

```
I've asked here whether there is any way to get the full content of a
commit in a format string and got no replies.  What I want is close to
"%s%b" except that "%s" will be the first paragraph wrapped into a
single line.

Looking at the code I see that there is no way to get that, but it's
really easy to add it.  Does it make sense to do so?  I have a change
that adds a "%B" that does just that, and it seems that it works fine.
(But I don't know what's the procedure for sending patches.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

```

## Ilari Liusvaara, 2010-03-23 08:54

Subject: Re: Feature Request: raw body in format strings
Message-ID: <20100323085407.GA29220@LK-Perkele-V2.elisa-laajakaista.fi>
URL: https://gitlist.dev/e/20100323085407.GA29220%40LK-Perkele-V2.elisa-laajakaista.fi
In-Reply-To: <m3wrx3ogwj.fsf@winooski.ccs.neu.edu>

```
On Mon, Mar 22, 2010 at 11:28:44PM -0400, Eli Barzilay wrote:
> 
> Looking at the code I see that there is no way to get that, but it's
> really easy to add it.  Does it make sense to do so?

I think it makes sense.

> I have a change
> that adds a "%B" that does just that, and it seems that it works fine.
> (But I don't know what's the procedure for sending patches.)

See Documentation/SubmittingPatches in git source code.

-Ilari

```
