add word diffs
This commit is contained in:
parent
5099d49e87
commit
70aa4e6ed0
10
.envrc
Normal file
10
.envrc
Normal file
@ -0,0 +1,10 @@
|
||||
_pandocdiff="pandoc -t plain"
|
||||
_catdocdiff="catdoc"
|
||||
|
||||
if [ "$(git config diff.pandocdiff.textconv)" != "$_pandocdiff" ]; then
|
||||
git config diff.pandocdiff.textconv "$_pandocdiff"
|
||||
fi
|
||||
|
||||
if [ "$(git config diff.catdocdiff.textconv)" != "$_catdocdiff" ]; then
|
||||
git config diff.catdocdiff.textconv "$_catdocdiff"
|
||||
fi
|
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# diffing binary blobs
|
||||
*.docx diff=pandocdiff
|
||||
*.doc diff=catdocdiff
|
Loading…
Reference in New Issue
Block a user