* Is the textconv filter called for each line ? or once for the file ?
@ 2012-06-20 10:57 Laurent Alebarde
2012-06-20 12:17 ` Matthieu Moy
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Alebarde @ 2012-06-20 10:57 UTC (permalink / raw)
To: git
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 ? The opposite
being called once for the whole file.
Regards,
Laurent.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is the textconv filter called for each line ? or once for the file ?
2012-06-20 10:57 Is the textconv filter called for each line ? or once for the file ? Laurent Alebarde
@ 2012-06-20 12:17 ` Matthieu Moy
2012-06-20 18:35 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Moy @ 2012-06-20 12:17 UTC (permalink / raw)
To: Laurent Alebarde; +Cc: git
Laurent Alebarde <l.alebarde@free.fr> 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?
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is the textconv filter called for each line ? or once for the file ?
2012-06-20 12:17 ` Matthieu Moy
@ 2012-06-20 18:35 ` Junio C Hamano
0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2012-06-20 18:35 UTC (permalink / raw)
To: Matthieu Moy; +Cc: Laurent Alebarde, git
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
> Laurent Alebarde <l.alebarde@free.fr> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-20 18:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20 10:57 Is the textconv filter called for each line ? or once for the file ? Laurent Alebarde
2012-06-20 12:17 ` Matthieu Moy
2012-06-20 18:35 ` Junio C Hamano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.