From: Junio C Hamano Date: Wed, 20 Jun 2012 18:35:40 GMT Subject: Re: Is the textconv filter called for each line ? or once for the file ? Message-ID: <7vtxy5vnk3.fsf@alter.siamese.dyndns.org> In-Reply-To: Matthieu Moy writes: > Laurent Alebarde writes: > >> Hi all, >> >> Something I need clarification please : >> >> In the documentation on gitattributes, it is said : >> >> "A textconv, by comparison, is much more limiting. You provide a transformation >> of the data into a line-oriented text format, and git uses its regular diff >> tools to generate the output." >> >> Does it mean that the textconv filter is called for each line ? > > No. What would "for each line" mean, since textconv is essentially meant > to be called on binary files? I think the key phrase Laurent has missed is "*into* a line-oriented text format". The input may or may not be line-oriented. The output is expected to be.