git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature Request: raw body in format strings
@ 2010-03-23  3:28 Eli Barzilay
  2010-03-23  8:54 ` Ilari Liusvaara
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Barzilay @ 2010-03-23  3:28 UTC (permalink / raw)
  To: git

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Feature Request: raw body in format strings
  2010-03-23  3:28 Feature Request: raw body in format strings Eli Barzilay
@ 2010-03-23  8:54 ` Ilari Liusvaara
  0 siblings, 0 replies; 2+ messages in thread
From: Ilari Liusvaara @ 2010-03-23  8:54 UTC (permalink / raw)
  To: Eli Barzilay; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-23  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23  3:28 Feature Request: raw body in format strings Eli Barzilay
2010-03-23  8:54 ` Ilari Liusvaara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).