From f4856a33c9ad23613558eddb64d5d91f140c72d2 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 11 Aug 2011 17:57:04 +0200 Subject: [PATCH] .gitattributes Marking *.cpp files as C++ files makes for nicer diffs when using --color-words or similar options. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..2e62a4e59 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.cpp diff=cpp +*.h diff=cpp