Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git.rb')
-rw-r--r--lib/gitlab/git.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gitlab/git.rb b/lib/gitlab/git.rb
index 37f593ed551..8cbd1a4ce72 100644
--- a/lib/gitlab/git.rb
+++ b/lib/gitlab/git.rb
@@ -12,6 +12,13 @@ module Gitlab
TAG_REF_PREFIX = "refs/tags/"
BRANCH_REF_PREFIX = "refs/heads/"
+ # NOTE: We don't use linguist anymore, but we'd still want to support it
+ # to be backward/GitHub compatible. Using `gitlab-*` prefixed overrides
+ # going forward would give us a better control and flexibility.
+ ATTRIBUTE_OVERRIDES = {
+ generated: %w[gitlab-generated linguist-generated]
+ }.freeze
+
CommandError = Class.new(BaseError)
CommitError = Class.new(BaseError)
OSError = Class.new(BaseError)