summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-11 17:57:04 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-11 17:57:40 +0200
commitf4856a33c9ad23613558eddb64d5d91f140c72d2 (patch)
tree8c095ffe321f56b8f5b89ee3fb504706a83a6e71 /.gitattributes
parent371af9c241c3064d64e1109098aa5471e545d32c (diff)
downloadminetest-f4856a33c9ad23613558eddb64d5d91f140c72d2.tar.gz
minetest-f4856a33c9ad23613558eddb64d5d91f140c72d2.tar.bz2
minetest-f4856a33c9ad23613558eddb64d5d91f140c72d2.zip
.gitattributes
Marking *.cpp files as C++ files makes for nicer diffs when using --color-words or similar options.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
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