-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/02/13 16:38, Konstantin Khomoutov wrote:
> On Tue, 19 Feb 2013 15:52:13 +0100 Rainer M Krug
> <r.m.krug-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote:
> 
> [...]
>>>> Thanks - that looks like a solution. But do you have any suggestions, how 
>>>> I can convert
>>>> docx to txt? I found a few tools to do this for doc, but none for docx?
>>> 
>>> One idea is to use batch conversion provided by OpenOffice / LibreOffice
>> 
>> True - haven't thought about that, but the last time I used it, irt was 
>> quite slow. But I
>> will try.
>> 
>> Additional thought: could I define a diff tool, so that the two docx are 
>> actually compared in
>> e.g. LibreOffice?
> 
> Defining a custom "diff program" for Git is not hard -- see the git-difftool 
> manual [1].  The
> idea is that you set a bunch of the difftool.docx.* configuration variables 
> and then call `git
> difftool --gui --tool docx <this> <that>`. The rest is writing a script (or a 
> full-blown
> program) that will be called with two file names and then do something with 
> them (say, pass 
> them somehow to LibreOffice so that it does diffing).
> 
> 1. http://www.kernel.org/pub/software/scm/git/docs/git-difftool.html
> 

I'll check it out - an approach like this would have the advantage to not only 
diff the text, but
also formating and comments.

I'll try it out.

Thanks a lot,

Rainer


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRI6WaAAoJENvXNx4PUvmCVxsH+waUjusjaGAdqsnqDjh8RDaT
T69/kR1eW3MZ4HFgvrbCd4s7ma1wCyHDQpSh6uH8Qhn42LpJOpwgyJ3NODbuLE11
4hMBqJUq/lv72MpICG/SJq74Bd8FCYiW9cYMAX/lw93Sv2TCJe01FHqWdSIoMjBH
spSySPaNhCeMnbkWImIZpGk9VyNzLISCUJAUjxMMVrYy9K5RRCcXU3OaZ1Hx2Nby
sZOZAKv9OGr2duI4cMxl6JUL7C1nW8LsXOiffE8pRvtriyXRjBqv1a3ko5kSNHJ+
dcXf6SGrusUX0QnExhJKbwT3ncbfkMOTCq5VZwGbxMGl4cVYHilllYLogxIAcSM=
=yEgC
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to