Set up a diff attribute and textconv instructions for font files

This may help us generate human-readable diffs of font files.
This commit is contained in:
Martin von Gagern 2017-01-19 17:47:59 +01:00
parent d4aa6a7253
commit a3f0653e5c

9
.gitattributes vendored Normal file
View File

@ -0,0 +1,9 @@
# Install ttx from https://github.com/fonttools/fonttools,
# then add this to your ~/.gitconfig to diff fonts more easily:
#[diff "font"]
# binary = true
# textconv = ttx -q -i -o -
*.ttf diff=font
*.woff diff=font