From: Junio C Hamano Date: Tue, 15 Dec 2009 17:23:06 GMT Subject: Re: Giving command line parameter to textconv command? Message-ID: <7vy6l4179h.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091215170321.GB21322@coredump.intra.peff.net> Jeff King writes: > [1] The current textconv interface is really nice for things like just > using "antiword" out of the box. But I wrote a new interface which can > be much faster: it calls the textconv filter with the blob name, and > then the filter is responsible for using cat-file to get at the blob. > This means the filter can look at only part of a blob (e.g., if we are > interested in the metadata tags at the beginning of a large media file), > and it can cache answers as it sees fit, avoiding access to the blob > entirely. > > I need to polish the code a bit and submit it. Obviously this is not > meant to replace the existing textconv, but rather to supplement it, for > when "fast and inconvenient" is better than "slow and simple". What is > the best way to configure this? I can imagine "diff.*.textconvType = > fast", or also "diff.*.fastTextconv". "diff.*.blobfilter"?