summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorArvid Gerstmann <ag@arvid.io>2016-05-30 18:30:36 +0200
committerArvid Gerstmann <ag@arvid.io>2016-05-30 18:30:36 +0200
commit18484eb6c778c318e824882f2bec829ef1fe3582 (patch)
treed04284f16c3280d5ed5f19c6b4438f70016a05c3 /.gitattributes
parentf2327829669385ebcb51a0af966709dfce070373 (diff)
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