]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
Implemented manual packfile switching in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 11:35:41 +0000 (06:35 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 15 Jan 2007 11:35:41 +0000 (06:35 -0500)
commit7bfe6e261378a30980886994dabc0e7e4c9ce3d8
treeac7dd5b1e12b709719407d076a256db587eee3c6
parent80144727acc401070039434987692276dcb9273c
Implemented manual packfile switching in fast-import.

To help importers which are dealing with massive amounts of data
fast-import needs to be able to close the packfile it is currently
writing to and open a new packfile for any additional data that
will be received.  A new 'checkpoint' command has been introduced
which can be used by the frontend import process to force this
to occur at any time.  This may be useful to ensure a very long
running import doesn't lose any work due to unexpected failures.

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