Исправлены фильтры для бинарных файлов

This commit is contained in:
Andrei Astafev 2023-04-26 17:04:16 +03:00
parent dcb3a56107
commit a33de8d1df
2 changed files with 16 additions and 6 deletions

View File

@ -4,11 +4,12 @@
*.tar.bz2 diff=tar-bz2
*.zip diff=zip
*.odt diff=pandoc
*.doc diff=pandoc
*.docx diff=pandoc
*.ods diff=localc
*.doc diff=doc
*.docx diff=docx
*.odt diff=odt
*.xls diff=localc
*.xlsx diff=localc
*.odg diff=odf
*.ods diff=localc
*.odg diff=odf

11
config
View File

@ -36,7 +36,16 @@
prompt = false
binary = true
cachetextconv = true
[diff "pandoc"]
[diff "doc"]
textconv=lowriter --cat
prompt = false
binary = true
[diff "docx"]
textconv=pandoc --to=markdown -f docx+styles
prompt = false
binary = true
[diff "odt"]
textconv=pandoc --to=markdown
prompt = false
binary = true