git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Feature Request: raw body in format strings

From
Eli Barzilay <eli@barzilay.org>
Date
Mar 23, 2010, 03:28 UTC
Message-ID
<m3wrx3ogwj.fsf@winooski.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!
Next: Ilari Liusvaara
Message 1 of 2 in “Feature Request: raw body in format strings”
  1. Eli BarzilayMar 23, 2010
  2. Ilari LiusvaaraMar 23, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.