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

textconv not used for diff

From
Victor Engmark <victor.engmark@gmail.com>
Date
Oct 6, 2010, 20:36 UTC
Message-ID
<AANLkTi=Y2U1DqnW4oA7_MD3gZMXYzFCFYHwKuuonsmA0@mail.gmail.com>
Hello,

After trying for a couple hours to get textconv to work according to <https://git.wiki.kernel.org/index.php/Textconv> and other pages, I've given up. I've tried changing .odt, .ott and .ods files, but git-diff never outputs the text diff:

$ git --version
git version 1.7.0.4
$ cat ~/.gitattributes
*.odp diff=odf
*.ods diff=odf
*.odt diff=odf
*.ott diff=odf
$ cat ~/.gitconfig
...
[diff "odf"]
	textconv = odt2txt
$ odt2txt budget.ods
[produces useful output]
$ git diff
diff --git a/budget.ods b/budget.ods
index 64374b9..c4a1949 100644
Binary files a/budget.ods and b/budget.ods differ
$ git diff --textconv
diff --git a/budget.ods b/budget.ods
index 64374b9..e680dee 100644
Binary files a/budget.ods and b/budget.ods differ

Any ideas?
-- 
Victor Engmark
Next: Matthieu Moy
Message 1 of 3 in “textconv not used for diff”
  1. Victor EngmarkOct 6, 2010
  2. Matthieu MoyOct 6, 2010
  3. Victor EngmarkOct 6, 2010

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.