Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
59e912c5
Commit
59e912c5
authored
Dec 14, 2021
by
George Koltsov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add diff attribute back to excluded list for Import/Export
parent
a898ae32
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
lib/gitlab/import_export/project/import_export.yml
lib/gitlab/import_export/project/import_export.yml
+1
-1
lib/gitlab/import_export/project/relation_factory.rb
lib/gitlab/import_export/project/relation_factory.rb
+3
-1
spec/lib/gitlab/import_export/safe_model_attributes.yml
spec/lib/gitlab/import_export/safe_model_attributes.yml
+0
-1
No files found.
lib/gitlab/import_export/project/import_export.yml
View file @
59e912c5
...
...
@@ -413,7 +413,6 @@ included_attributes:
-
:b_mode
-
:too_large
-
:binary
-
:diff
metrics
:
-
:created_at
-
:updated_at
...
...
@@ -797,6 +796,7 @@ excluded_attributes:
-
:verification_checksum
-
:verification_failure
merge_request_diff_files
:
-
:diff
-
:external_diff_offset
-
:external_diff_size
-
:merge_request_diff_id
...
...
lib/gitlab/import_export/project/relation_factory.rb
View file @
59e912c5
...
...
@@ -131,7 +131,9 @@ module Gitlab
end
def
setup_diff
@relation_hash
[
'diff'
]
=
@relation_hash
.
delete
(
'utf8_diff'
)
diff
=
@relation_hash
.
delete
(
'utf8_diff'
)
parsed_relation_hash
[
'diff'
]
=
diff
end
def
setup_pipeline
...
...
spec/lib/gitlab/import_export/safe_model_attributes.yml
View file @
59e912c5
...
...
@@ -253,7 +253,6 @@ MergeRequestDiffFile:
-
b_mode
-
too_large
-
binary
-
diff
MergeRequestContextCommit
:
-
id
-
authored_date
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment