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

Re: [PATCH] Improve output of %p and %P format in git-rev-list --pretty=format:

From
Jeff King <peff@peff.net>
Date
Mar 28, 2007, 20:24 UTC
Message-ID
<20070328202409.GA32092@coredump.intra.peff.net>
In-Reply-To
<20070328201123.GB2588@steel.home>
On Wed, Mar 28, 2007 at 10:11:23PM +0200, Alex Riesen wrote:
> Remove the terminating space from the space-separated list of parents.
> Also fix the test t6006: it wrongly assumed that the initial commit
> has a parent and was not executable.

Argh, yes. As is probably obvious, I moved the actual output to be 'expected' after giving it a cursory check, but I was more focused on the author/committer information, since that's where I was fixing bugs. Good catch.

This is obviously fairly untested code. I will follow up with a few more tests for encoding/body to help make it more complete.

-Peff
Previous: Alex Riesen
Message 5 of 5 in “Add some basic tests of rev-list --pretty=format”
  1. Add some basic tests of rev-list --pretty=formatJeff King, Mar 28, 2007
  2. Alex RiesenMar 28, 2007
  3. Fix "--pretty=format:" for parent related items.Junio C Hamano, Mar 28, 2007
  4. Improve output of %p and %P format in git-rev-list --pretty=format:Alex Riesen, Mar 28, 2007
  5. Jeff KingMar 28, 2007

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.