Help git figure out how to diff .mc and .rc files.
authorIain Patterson <me@iain.cx>
Sun, 28 Feb 2016 09:01:09 +0000 (09:01 +0000)
committerIain Patterson <me@iain.cx>
Sun, 28 Feb 2016 09:01:09 +0000 (09:01 +0000)
commitc9c68980f322acce5ba5b58a495f0535e58f67bf
treeea95e52207e1d336b8ef668a91f9b307b160e7dc
parentb6f7fe3b11fd130f46eb6b5009391cc3bb0cad49
Help git figure out how to diff .mc and .rc files.

Visual Studio wants .mc and .rc files to be UTF-16LE, which git thinks
are binary.  Use .gitattributes to force treating them as text only when
diffing, explicitly not handling them as text when submitting as they
must retain their encoding to keep Visual Studio happy.

Thanks to Mathias Breiner for proposing the use of .gitattributes in the
repo.  I had the rules in .git/info/exclude in my working copy for a
long time and forgot about the issue!
.gitattributes [new file with mode: 0644]