git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Is the textconv filter called for each line ? or once for the file ?

From
Laurent Alebarde <l.alebarde@free.fr>
Date
Jun 20, 2012, 10:57 UTC
Message-ID
<loom.20120620T125636-763@post.gmane.org>
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.
Next: Matthieu Moy
Message 1 of 3 in “Is the textconv filter called for each line ? or once for the file ?”
  1. Laurent AlebardeJun 20, 2012
  2. Matthieu MoyJun 20, 2012
  3. Junio C HamanoJun 20, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.