Skip to content

Commit d3ea3a9

Browse files
committed
Consolidate .gitattributes at the top level
The top-level file can define macros that combine multiple attributes.
1 parent ffdf703 commit d3ea3a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# https://docs.gitlab.com/user/project/merge_requests/changes#collapse-generated-files
2+
# https://github.com/github-linguist/linguist/blob/-/docs/overrides.md#generated-code
3+
# https://git-scm.com/docs/gitattributes#_defining_macro_attributes
4+
[attr]generated gitlab-generated linguist-generated
5+
6+
/internal/collector/generated/*.json generated

internal/collector/generated/.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)