git: recognise level files
authorMischa Poslawsky <wormy@shiar.org>
Wed, 25 Feb 2009 12:38:55 +0000 (13:38 +0100)
committerMischa Poslawsky <wormy@shiar.org>
Mon, 2 Mar 2009 21:42:35 +0000 (22:42 +0100)
Set filetype for all (likely to be) levels to "wormylevel", so it is
possible to use custom handling for them.  Notably, for more detailed
diffs than 'binary files differ', users can use parse-wormedit output
for example:

git config --global diff.wormylevel.textconv parse-wormedit

.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..09c0ee2
--- /dev/null
@@ -0,0 +1,2 @@
+*.86s diff=wormylevel
+*.lvl diff=wormylevel