aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-09-22 14:41:27 -0600
committerfearlessTobi <thm.frey@gmail.com>2018-09-22 23:31:44 +0200
commit2dcdc61590b155290731aee6326732cfe3cf0b7e (patch)
tree4ab6fe01ab24bf453e5be9fc758fe629c89da73d /.gitattributes
parentd041aee63c1aad8348b3295d938ffae8c024f563 (diff)
Meta: Add gitattributes file
Github Linguist will read this file when calculating language stats for the repository. We can use this to exclude any vendored dependencies in externals and dist. Also makes all h files be considered cpp
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..ab861a3965
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+dist/languages/* linguist-vendored
+dist/qt_themes/* linguist-vendored
+externals/* linguist-vendored
+*.h linguist-language=cpp