From 21bb5ea5c749e030bbbac21c11686f3933d16710 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 4 Oct 2015 13:35:07 +0300 Subject: [PATCH] Add .gitattributes file to classify C++ source With this, diffs become more pleasant to read, as access specifiers no longer find their way into the hunk header. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..0492b13e5e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.cc diff=cpp +*.hh diff=cpp