diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-17 19:49:15 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-18 09:42:55 +0200 |
commit | 1d9a1215e8b0a2c9f3723d6f1fe5340943ed53a1 (patch) | |
tree | e4bbbca70e3a366afba1afe310028d11061a1395 /test/journal-data | |
parent | gitattributes: mark more files as "binary" (diff) | |
download | systemd-1d9a1215e8b0a2c9f3723d6f1fe5340943ed53a1.tar.xz systemd-1d9a1215e8b0a2c9f3723d6f1fe5340943ed53a1.zip |
gitattributes: introduce and use "generated" attribute
I want to mark some files to be ignored for licensing purposes,
e.g. output from fuzzers and other samples. By using the gitattribute
machinery for this we don't need to design a custom protocol:
$ git check-attr generated test/test-sysusers/unhappy-*
test/test-sysusers/unhappy-1.expected-err: generated: set
test/test-sysusers/unhappy-1.input: generated: unspecified
test/test-sysusers/unhappy-2.expected-err: generated: set
test/test-sysusers/unhappy-2.input: generated: unspecified
test/test-sysusers/unhappy-3.expected-err: generated: set
test/test-sysusers/unhappy-3.input: generated: unspecified
Diffstat (limited to 'test/journal-data')
-rw-r--r-- | test/journal-data/.gitattributes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/journal-data/.gitattributes b/test/journal-data/.gitattributes index c04df17b59..483f6cdd60 100644 --- a/test/journal-data/.gitattributes +++ b/test/journal-data/.gitattributes @@ -1,2 +1,2 @@ # Journal data in export format -/*.txt binary +/*.txt binary generated |