summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-10-16 13:19:02 +0000
committerMarcia Ramos <virtua.creative@gmail.com>2018-10-16 13:19:02 +0000
commit6b74baeaf8a243b20bb31a94df92c0d0219aed9b (patch)
tree52cb12ebef26cc18a8a40e074993048cdffb4aa0
parentbca250783d3cea9b807b905d93e6b8b5fd513433 (diff)
parent2ab65500daea3904098d5df47ae8b1b97d8681ec (diff)
downloadgitlab-ce-6b74baeaf8a243b20bb31a94df92c0d0219aed9b.tar.gz
Merge branch 'docs-detectable-override' into 'master'
Document linguist overriding See merge request gitlab-org/gitlab-ce!22386
-rw-r--r--doc/user/project/repository/index.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/user/project/repository/index.md b/doc/user/project/repository/index.md
index ce79bfc0a03..beff4b89424 100644
--- a/doc/user/project/repository/index.md
+++ b/doc/user/project/repository/index.md
@@ -166,7 +166,11 @@ minutes.
![Repository Languages bar](img/repository_languages.png)
Not all files are detected, among others; documentation,
-vendored code, and most markup languages are excluded.
+vendored code, and most markup languages are excluded. This behaviour can be
+adjusted by overriding the default. For example, to enable `.proto` files to be
+detected, add the following to `.gitattributes` in the root of your repository.
+
+> *.proto linguist-detectable=true
## Compare