summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes10
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 429748b0d4..c5b9d859dc 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,11 @@
*.[ch] whitespace=tab-in-indent,trailing-space
-*.gpg binary
+*.gpg binary generated
*.bmp binary
+
+# Mark files as "generated", i.e. no license applies to them.
+# This includes output from programs, directive lists generated by grepping
+# for all possibilities, samples from fuzzers, files from /proc, packet samples,
+# and anything else where no copyright can be asserted.
+#
+# Use 'git check-attr generated -- <path>' to query the attribute.
+[attr]generated