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

Re: Enable the packed refs file format

From
Linus Torvalds <torvalds@osdl.org>
Date
Sep 19, 2006, 21:09 UTC
Message-ID
<Pine.LNX.4.64.0609191407340.4388@g5.osdl.org>
In-Reply-To
<20060919205554.GA8259@pasky.or.cz>
On Tue, 19 Sep 2006, Petr Baudis wrote:
Show 7 quoted lines
> Dear diary, on Thu, Sep 14, 2006 at 07:14:47PM CEST, I got a letter
> where Linus Torvalds <torvalds@osdl.org> said that...
> > +	ref_file = git_path(ref);
> 
> You slip...
> You fall...
> *BLAMMMM!!!*
Gaah. Yes. I fixed one such mistake already.

Too bad that we can't get gcc to warn on these things. We do mark it as "format(printf)", but I don't know of any way to tell gcc that it _has_ to have that initial constant string.

		Linus
Previous: Petr BaudisNext: Phil Richards
Message 3 of 8 in “Enable the packed refs file format”
  1. Linus TorvaldsSep 14, 2006
  2. Petr BaudisSep 19, 2006
  3. Linus TorvaldsSep 19, 2006
  4. Phil RichardsSep 20, 2006
  5. Fix buggy ref recordingPetr Baudis, Sep 22, 2006
  6. Junio C HamanoSep 23, 2006
  7. Petr BaudisSep 23, 2006
  8. pack-refs: fix git_path() usage.Junio C Hamano, Sep 23, 2006

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.