summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindgen-integration/.gitattributes4
-rw-r--r--tests/.gitattributes4
2 files changed, 8 insertions, 0 deletions
diff --git a/bindgen-integration/.gitattributes b/bindgen-integration/.gitattributes
new file mode 100644
index 00000000..d42187e6
--- /dev/null
+++ b/bindgen-integration/.gitattributes
@@ -0,0 +1,4 @@
+# Tell Github Linguist to avoid counting these C and C++ test inputs toward
+# statistics.
+*.h -linguist-detectable
+*.cc -linguist-detectable
diff --git a/tests/.gitattributes b/tests/.gitattributes
new file mode 100644
index 00000000..96122eb1
--- /dev/null
+++ b/tests/.gitattributes
@@ -0,0 +1,4 @@
+# Tell Github Linguist to avoid counting these C and C++ test inputs toward
+# statistics.
+*.h -linguist-detectable
+*.hpp -linguist-detectable