Re: git-svnimport failed and now git-repack hates me
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jan 4, 2007, 02:06 UTC
- Message-ID
- <20070104020652.GB18206@spearce.org>
- In-Reply-To
- <Pine.LNX.4.64.0701031737300.4989@woody.osdl.org>
Linus Torvalds <torvalds@osdl.org> wrote:
> Junio - I suspect "pack-check.c" really shouldn't try to do it as one > single humungous "SHA1_Update()" call. It showed one bug on PPC, I > wouldn't be surprised if it's implicated now on some other architecture.
It used to do it as one big SHA1_Update() call...
> Shawn - does the pack-file-windowing thing already change that? I'm too > lazy to check..
But with the mmap window thing in `next` it does it in window units only. Which the user could configure to be huge, or could configure to be sane. The default when using mmap() is 32 MiB; 1 MiB when using pread() and git_mmap().
-- Shawn.