summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-30 18:33:45 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-30 18:33:45 +0200
commit8b1c665087c1f26578a1847c05cc32e02b7fe2d8 (patch)
treed04284f16c3280d5ed5f19c6b4438f70016a05c3 /.gitattributes
parentf2327829669385ebcb51a0af966709dfce070373 (diff)
parent18484eb6c778c318e824882f2bec829ef1fe3582 (diff)
Merge pull request #4921 from Leandros/master
Properly detect .h as a C++ header file
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index f1e99ee8ca..11c6766da9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,6 @@
+# Properly detect languages on Github
+*.h linguist-language=cpp
+
*.cpp eol=lf
*.h eol=lf
*.py eol=lf