Re: patch series starting with [JGIT PATCH 1/5] Remove dead/unused reset method from CountingOutputStream
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Mar 27, 2009, 14:51 UTC
- Message-ID
- <20090327145100.GM23521@spearce.org>
- In-Reply-To
- <200903270911.54571.robin.rosenberg.lists@dewire.com>
Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:
> > More related, I also noted that the git:// ssh or file: clone calculates the CRC's separately > and wasn't subject to this bug.
clone (or fetch) is going through IndexPack, which has its own logic to tear apart a pack file and build up the table of contents of that pack in the most efficient method possible. Its an entirely different code base than writing a pack, because its going the other direction. :-)
The new test case at least validates that both IndexPack and PackWriter produce the same information in the .idx file.
-- Shawn.