diff options
author | George Koltsov <gkoltsov@gitlab.com> | 2019-07-12 12:05:55 +0300 |
---|---|---|
committer | George Koltsov <gkoltsov@gitlab.com> | 2019-07-15 12:30:39 +0300 |
commit | ec512406857aecabc577b3fc70ec321982dd65a8 (patch) | |
tree | 6e63826c8b4129e0a19ddca879a018689d763996 /lib | |
parent | ebed862a78c5561bb497fefa041172b4c7440c45 (diff) |
Add commit_id to AttributeCleaner::ALLOWED_REFERENCES
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/import_export/attribute_cleaner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/attribute_cleaner.rb b/lib/gitlab/import_export/attribute_cleaner.rb index c28a1674018..b2fe9592c06 100644 --- a/lib/gitlab/import_export/attribute_cleaner.rb +++ b/lib/gitlab/import_export/attribute_cleaner.rb @@ -3,7 +3,7 @@ module Gitlab module ImportExport class AttributeCleaner - ALLOWED_REFERENCES = RelationFactory::PROJECT_REFERENCES + RelationFactory::USER_REFERENCES + ['group_id'] + ALLOWED_REFERENCES = RelationFactory::PROJECT_REFERENCES + RelationFactory::USER_REFERENCES + %w[group_id commit_id] PROHIBITED_REFERENCES = Regexp.union(/\Acached_markdown_version\Z/, /_id\Z/, /_html\Z/).freeze def self.clean(*args) |