]> git.ipfire.org Git - thirdparty/systemd.git/commit - .gitattributes
gitattributes: introduce and use "generated" attribute
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 17 Oct 2021 17:49:15 +0000 (19:49 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 18 Oct 2021 07:42:55 +0000 (09:42 +0200)
commit1d9a1215e8b0a2c9f3723d6f1fe5340943ed53a1
treee4bbbca70e3a366afba1afe310028d11061a1395
parent546e57f51b738c96ba7e1530107a10e80ecb3fe2
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
.gitattributes
po/.gitattributes [new file with mode: 0644]
test/dmidecode-dumps/.gitattributes
test/fuzz/.gitattributes
test/journal-data/.gitattributes
test/test-network-generator-conversion/.gitattributes [new file with mode: 0644]
test/test-network/.gitattributes [new file with mode: 0644]
test/test-resolve/.gitattributes
test/test-sysusers/.gitattributes [new file with mode: 0644]
test/test-umount/.gitattributes [new file with mode: 0644]