]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
fast-import: make default pack size unlimited
authorNicolas Pitre <nico@fluxnic.net>
Wed, 17 Feb 2010 19:05:54 +0000 (14:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2010 19:08:43 +0000 (11:08 -0800)
commit89e0a3a131d251b5345845529d5258ab91105c9b
treefdd226790bd50130a49182556d487e03a4699669
parent427cb22c40484f9b8c2881bc9e99636591a22655
fast-import: make default pack size unlimited

Now that fast-import is creating packs with index version 2, there is
no point limiting the pack size by default.  A pack split will still
happen if off_t is not sufficiently large to hold large offsets.

While updating the doc, let's remove the "packfiles fit on CDs"
suggestion.  Pack files created by fast-import are still suboptimal and
a 'git repack -a -f -d' or even 'git gc --aggressive' would be a pretty
good idea before considering storage on CDs.

Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fast-import.txt
fast-import.c