From: Shawn O. Pearce Date: Fri, 29 Jan 2010 18:30:24 GMT Subject: Re: [PATCH v2] fast-import: Stream very large blobs directly to pack Message-ID: <20100129183024.GA22101@spearce.org> In-Reply-To: Jakub Narebski wrote: > "Shawn O. Pearce" 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=:: > > + 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.