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

Re: [JGIT PATCH 1/2] index-pack: Avoid disk corruption yielding a valid pack footer checksum

From
Nicolas Pitre <nico@cam.org>
Date
Aug 28, 2008, 00:26 UTC
Message-ID
<alpine.LFD.1.10.0808272024160.1624@xanadu.home>
In-Reply-To
<20080828001401.GT26523@spearce.org>
On Wed, 27 Aug 2008, Shawn O. Pearce wrote:
Show 13 quoted lines
> Nicolas Pitre <nico@cam.org> wrote:
> > On Wed, 27 Aug 2008, Shawn O. Pearce wrote:
> > > 
> > >   This was inspired by the data corruption thread started
> > >   by J. Bruce Fields.  At some point in the thread Linus
> > >   pointed out the C Git index-pack isn't as safe as it can
> > >   be, and offered a strategy to fix it.
> > 
> > I thought it was Nicolas Pitre who offered that strategy?
> > Maybe I was mistaken.  ;-)
> 
> Sorry about the bad attribution.  Going back through the
> archives does say it was you that had the brilliant idea.
Thanks.  Now my ego is fully restored.  ;-)
Nicolas
Previous: Shawn O. Pearce
Message 5 of 5 in “index-pack: Avoid disk corruption yielding a valid pack footer checksum”
  1. 1/2 index-pack: Avoid disk corruption yielding a valid pack footer checksumShawn O. Pearce, Aug 27, 2008
  2. 2/2 index-pack: Use fsync to ensure received pack data is on diskShawn O. Pearce, Aug 27, 2008
  3. Nicolas PitreAug 28, 2008
  4. Shawn O. PearceAug 28, 2008
  5. Nicolas PitreAug 28, 2008

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.