From a3f0653e5c5cebccce249113c1485fc3909ca77b Mon Sep 17 00:00:00 2001 From: Martin von Gagern Date: Thu, 19 Jan 2017 17:47:59 +0100 Subject: [PATCH] Set up a diff attribute and textconv instructions for font files This may help us generate human-readable diffs of font files. --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7de9a53 --- /dev/null +++ b/.gitattributes @@ -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