Skip to content

Commit 6b74bae

Browse files
Merge branch 'docs-detectable-override' into 'master'
Document linguist overriding See merge request gitlab-org/gitlab-ce!22386
2 parents bca2507 + 2ab6550 commit 6b74bae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/user/project/repository/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ minutes.
166166
![Repository Languages bar](img/repository_languages.png)
167167

168168
Not all files are detected, among others; documentation,
169-
vendored code, and most markup languages are excluded.
169+
vendored code, and most markup languages are excluded. This behaviour can be
170+
adjusted by overriding the default. For example, to enable `.proto` files to be
171+
detected, add the following to `.gitattributes` in the root of your repository.
172+
173+
> *.proto linguist-detectable=true
170174
171175
## Compare
172176

0 commit comments

Comments
 (0)