diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
commit | 9297025d0b7ddf095eb618dfaaab2ff8f2018d8b (patch) | |
tree | 865198c01d1824a9b098127baa3ab980c9cd2c06 /lib/gitlab/git.rb | |
parent | 6372471f43ee03c05a7c1f8b0c6ac6b8a7431dbe (diff) |
Add latest changes from gitlab-org/gitlab@16-7-stable-eev16.7.0-rc42
Diffstat (limited to 'lib/gitlab/git.rb')
-rw-r--r-- | lib/gitlab/git.rb | 7 |
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) |