]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
Restructure fast-import to support creating multiple packfiles.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 09:39:05 +0000 (04:39 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 09:39:05 +0000 (04:39 -0500)
commitf70b653429ebc7fdde0b36a63e1deb4aadb450d3
tree6cb26e7c7423bfeb95185296cead0761920816cf
parent03842d8e24face522fa0ca846283da33e747e4f0
Restructure fast-import to support creating multiple packfiles.

Now that we are starting to see some really large projects (such
as KDE or a fork of FreeBSD) get imported into Git we're running
into the upper limit on packfile object count as well as overall
byte length.  The KDE and FreeBSD projects are both likely to
require more than 4 GiB to store their current history, which means
we really need multiple packfiles to handle their content.

This is a fairly simple restructuring of the internal code to help
us support creating multiple packfiles from within fast-import.
We are now adding a 5 digit incrementing suffix to the end of the
basename supplied to us by the caller, permitting up to 99,999
packs to be generated in a single fast-import run.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c