Исправлены фильтры для бинарных файлов
This commit is contained in:
parent
dcb3a56107
commit
a33de8d1df
11
attributes
11
attributes
@ -4,11 +4,12 @@
|
|||||||
*.tar.bz2 diff=tar-bz2
|
*.tar.bz2 diff=tar-bz2
|
||||||
*.zip diff=zip
|
*.zip diff=zip
|
||||||
|
|
||||||
*.odt diff=pandoc
|
*.doc diff=doc
|
||||||
*.doc diff=pandoc
|
*.docx diff=docx
|
||||||
*.docx diff=pandoc
|
*.odt diff=odt
|
||||||
*.ods diff=localc
|
|
||||||
*.xls diff=localc
|
*.xls diff=localc
|
||||||
*.xlsx diff=localc
|
*.xlsx diff=localc
|
||||||
*.odg diff=odf
|
*.ods diff=localc
|
||||||
|
|
||||||
|
*.odg diff=odf
|
||||||
|
11
config
11
config
@ -36,7 +36,16 @@
|
|||||||
prompt = false
|
prompt = false
|
||||||
binary = true
|
binary = true
|
||||||
cachetextconv = 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
|
textconv=pandoc --to=markdown
|
||||||
prompt = false
|
prompt = false
|
||||||
binary = true
|
binary = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user