Re: [PATCH v2] fast-import: Stream very large blobs directly to pack
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jan 29, 2010, 18:30 UTC
- Message-ID
- <20100129183024.GA22101@spearce.org>
- In-Reply-To
- <m3aavwbwaz.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> wrote:
Show 17 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes: > > > Documentation/git-fast-import.txt | 6 ++ > > fast-import.c | 172 +++++++++++++++++++++++++++++++++---- > > t/t5705-clone-2gb.sh | 2 +- > > t/t9300-fast-import.sh | 46 ++++++++++ > > 4 files changed, 208 insertions(+), 18 deletions(-) > > > +--big-file-threshold=<n>:: > > + Maximum size of a blob that fast-import will attempt to > > + create a delta for, expressed in MiB. The default is 512. > > + Some importers may wish to lower this on systems with > > + constrained memory. > > + > > Shouldn't there be config variable corresponding to this command line > option, so that it can be set once for [constrained] system?
Implemented as core.bigFileThreshold in this patch... but I didn't document it...
-- Shawn.