{"thread":{"id":"25370","subject":"textconv not used for diff","startedAt":"2010-10-06T20:36:16Z","lastAt":"2010-10-06T21:10:17Z","messageCount":3,"participants":["Victor Engmark","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"152780","messageId":"AANLkTi=Y2U1DqnW4oA7_MD3gZMXYzFCFYHwKuuonsmA0@mail.gmail.com","threadId":"25370","inReplyTo":null,"subject":"textconv not used for diff","fromName":"Victor Engmark","fromEmail":"victor.engmark@gmail.com","sentAt":"2010-10-06T20:36:16Z","receivedAt":"2010-10-06T20:36:16Z","isPatch":false,"sender":{"key":"victor.engmark@gmail.com","avatar":"https://gravatar.com/avatar/5d7b4229a48f2ed011a265c19a1881c4ee58946449215db6627373a244c8aa4c?d=mp&s=160"},"body":"Hello,\n\nAfter trying for a couple hours to get textconv to work according to\n<https://git.wiki.kernel.org/index.php/Textconv> and other pages, I've\ngiven up. I've tried changing .odt, .ott and .ods files, but git-diff\nnever outputs the text diff:\n\n$ git --version\ngit version 1.7.0.4\n$ cat ~/.gitattributes\n*.odp diff=odf\n*.ods diff=odf\n*.odt diff=odf\n*.ott diff=odf\n$ cat ~/.gitconfig\n...\n[diff \"odf\"]\n\ttextconv = odt2txt\n$ odt2txt budget.ods\n[produces useful output]\n$ git diff\ndiff --git a/budget.ods b/budget.ods\nindex 64374b9..c4a1949 100644\nBinary files a/budget.ods and b/budget.ods differ\n$ git diff --textconv\ndiff --git a/budget.ods b/budget.ods\nindex 64374b9..e680dee 100644\nBinary files a/budget.ods and b/budget.ods differ\n\nAny ideas?\n\n-- \nVictor Engmark\n"},{"id":"152781","messageId":"vpqr5g3f42b.fsf@bauges.imag.fr","threadId":"25370","inReplyTo":"AANLkTi=Y2U1DqnW4oA7_MD3gZMXYzFCFYHwKuuonsmA0@mail.gmail.com","subject":"Re: textconv not used for diff","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2010-10-06T20:40:12Z","receivedAt":"2010-10-06T20:40:12Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Victor Engmark <victor.engmark@gmail.com> writes:\n\n> Hello,\n>\n> After trying for a couple hours to get textconv to work according to\n> <https://git.wiki.kernel.org/index.php/Textconv> and other pages, I've\n> given up. I've tried changing .odt, .ott and .ods files, but git-diff\n> never outputs the text diff:\n>\n> $ git --version\n> git version 1.7.0.4\n> $ cat ~/.gitattributes\n\n.gitattributes file should be in the working tree, not in your $HOME.\n\nThe development version of Git has a core.attributesfile variable that\nwould allow you to have a user-wide ~/.gitattributes, but this isn't\nreleased yet.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"152782","messageId":"AANLkTik8XzRA5i3y265OdYC3_fBPxiT1KPb7K003JRDj@mail.gmail.com","threadId":"25370","inReplyTo":"vpqr5g3f42b.fsf@bauges.imag.fr","subject":"Re: textconv not used for diff","fromName":"Victor Engmark","fromEmail":"victor.engmark@gmail.com","sentAt":"2010-10-06T21:10:17Z","receivedAt":"2010-10-06T21:10:17Z","isPatch":false,"sender":{"key":"victor.engmark@gmail.com","avatar":"https://gravatar.com/avatar/5d7b4229a48f2ed011a265c19a1881c4ee58946449215db6627373a244c8aa4c?d=mp&s=160"},"body":"On Wed, Oct 6, 2010 at 10:40 PM, Matthieu Moy\n<Matthieu.Moy@grenoble-inp.fr> wrote:\n> Victor Engmark <victor.engmark@gmail.com> writes:\n>> After trying for a couple hours to get textconv to work according to\n>> <https://git.wiki.kernel.org/index.php/Textconv> and other pages, I've\n>> given up. I've tried changing .odt, .ott and .ods files, but git-diff\n>> never outputs the text diff:\n>>\n>> $ git --version\n>> git version 1.7.0.4\n>> $ cat ~/.gitattributes\n>\n> .gitattributes file should be in the working tree, not in your $HOME.\n>\n> The development version of Git has a core.attributesfile variable that\n> would allow you to have a user-wide ~/.gitattributes, but this isn't\n> released yet.\n\nThank you very much! To the point and with bonus info for later. Works a charm.\n\n-- \nVictor Engmark\n"}]}