.gitattributes
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 11 Aug 2011 15:57:04 +0000 (17:57 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 11 Aug 2011 15:57:40 +0000 (17:57 +0200)
Marking *.cpp files as C++ files makes for nicer diffs when using
--color-words or similar options.

.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..2e62a4e
--- /dev/null
@@ -0,0 +1,2 @@
+*.cpp diff=cpp
+*.h diff=cpp