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

Re: Serious bug with pretty format strings & empty bodies?

From
Jonathan del Strother <maillist@steelskies.com>
Date
Dec 20, 2007, 10:43 UTC
Message-ID
<57518fd10712200243o26641b3bjf9be3898a2f0c7e1@mail.gmail.com>
In-Reply-To
<476962D5.3050409@lsrfire.ath.cx>
On Dec 19, 2007 6:28 PM, René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:
> That's strange.  Could you check if this happens with e52a5de, too?
> That's the commit that introduced --pretty=format.  If it doesn't, could
> you then please try to bisect the bug?

As far as I can tell, e52a... never compiled - it's missing prefixcmp from git-compat-util.h, which doesn't get merged in till 8ab3e18. And yes, I still get junk output from that build. (Shame, I was looking forward to trying out the bisect tool...)

> How many '<unknown>' markers are there in the output of version 1.5.3.7
> (and e52a5de)?  One per %b?  Are they the only output or are they
> combined with parts of unrelated commits, too?

Only one per %b, and where they appear, they're the only output. However, even with those builds, I get junk output in addition to the <unknown> markers. That is, with a format string of "**%b**", there are three possible outputs : The correct one - eg **Added test for NSDictionary generator** The unknown one - eg **<unknown>** The complete junk one - eg **n del Strothereb0d794bacc1761e8a0681e9b144c514702d9b7a**

The latter's 'body' is almost always terminated by an unprintable character, which always seems to be 03.

Hmmm. I wonder if it's coincidence that I can only seem to spot this problem in my repos that have been set up via submodule init...

Previous: René ScharfeNext: Jonathan del Strother
Message 3 of 16 in “Serious bug with pretty format strings & empty bodies?”
  1. Jonathan del StrotherDec 19, 2007
  2. René ScharfeDec 19, 2007
  3. Jonathan del StrotherDec 20, 2007
  4. Jonathan del StrotherDec 20, 2007
  5. Alex RiesenDec 19, 2007
  6. Jonathan del StrotherDec 19, 2007
  7. René ScharfeDec 19, 2007
  8. Jonathan del StrotherDec 20, 2007
  9. René ScharfeDec 20, 2007
  10. Johannes SchindelinDec 20, 2007
  11. Jonathan del StrotherDec 20, 2007
  12. Jonathan del StrotherDec 21, 2007
  13. Junio C HamanoDec 22, 2007
  14. Jonathan del StrotherDec 22, 2007
  15. Jonathan del StrotherDec 20, 2007
  16. Johannes SchindelinDec 20, 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.