Mark models/fixtures as generated (#24775)

Makes diffs like https://github.com/go-gitea/gitea/pull/24676/files more
readable. I'm not sure if those are actually generated, but they are
good to collapse in diffs anyways.
This commit is contained in:
silverwind 2023-05-17 22:59:12 +02:00 committed by GitHub
parent 655c890cbd
commit 71451ab844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
.gitattributes vendored
View file

@ -1,6 +1,7 @@
* text=auto eol=lf * text=auto eol=lf
*.tmpl linguist-language=Handlebars *.tmpl linguist-language=Handlebars
/assets/*.json linguist-generated /assets/*.json linguist-generated
/models/fixtures/** linguist-generated
/public/img/svg/*.svg linguist-generated /public/img/svg/*.svg linguist-generated
/public/vendor/** -text -eol linguist-vendored /public/vendor/** -text -eol linguist-vendored
/templates/swagger/v1_json.tmpl linguist-generated /templates/swagger/v1_json.tmpl linguist-generated