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

Re: [JGIT PATCH] Fix data corruption in DirCacheIterator when EmptyTreeIterator is used

From
Mark Struberg <struberg@yahoo.de>
Date
May 12, 2009, 00:04 UTC
Message-ID
<5323.360.qm@web27801.mail.ukl.yahoo.com>
Patch tested, jgit status now works on a repo which previously caused the out of bounds exception.

txs and LieGrue, strub

--- Shawn O. Pearce <spearce@spearce.org> schrieb am Mo, 11.5.2009:
Show 34 quoted lines
> Von: Shawn O. Pearce <spearce@spearce.org>
> Betreff: Re: [JGIT PATCH] Fix data corruption in DirCacheIterator when EmptyTreeIterator is used
> An: "Robin Rosenberg" <robin.rosenberg.lists@dewire.com>
> CC: "Mark Struberg" <struberg@yahoo.de>, git@vger.kernel.org
> Datum: Montag, 11. Mai 2009, 21:44
> Robin Rosenberg <robin.rosenberg.lists@dewire.com>
> wrote:
> > 
> > Shouldn't we update some unit tests too? The dircache
> must be reliable.
> 
> I see you ignored the remark I put in the cover letter
> below the ---.
> 
> I think we should have unit tests too.  I just can't
> come up with
> a way test the fix to prevent regression.  And I don't
> have any
> more time for it probably the rest of this week.  I'd
> rather have
> the corruption fix in the tree with no test than continue
> to have
> surprising corruption under certain cases.  But if you
> or Mark can
> offer a test, I'd love to have it.
> 
> -- 
> Shawn.
> --
> To unsubscribe from this list: send the line "unsubscribe
> git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
Message 1 of 1 in “Re: [JGIT PATCH] Fix data corruption in DirCacheIterator when EmptyTreeIterator is used”
  1. Mark StrubergMay 12, 2009

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.