diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..f395702e713b14e23232e552093cdf8e2be66da1
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+*.cc    diff=cpp
+*.hh    diff=cpp