summaryrefslogtreecommitdiff
path: root/lib/gitlab/bitbucket_import/importer.rb
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-10-10 14:44:14 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-10-12 22:13:05 -0300
commit9fdde3693b3b49e929b7c80ccbec4abe412edb7f (patch)
treea0d6b1b4a21a2c2cc6d2322ecb410e08ef9103a4 /lib/gitlab/bitbucket_import/importer.rb
parentfaa9bd402d3521b3f7b4cc2583f8ef1b3cceb821 (diff)
downloadgitlab-ce-9fdde3693b3b49e929b7c80ccbec4abe412edb7f.tar.gz
Move line code generation into Gitlab::Gitconflict-resolution-refactor
Having a distinct class just for that was a bit overkill
Diffstat (limited to 'lib/gitlab/bitbucket_import/importer.rb')
-rw-r--r--lib/gitlab/bitbucket_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb
index 38ba5b97ed0..033ecd15749 100644
--- a/lib/gitlab/bitbucket_import/importer.rb
+++ b/lib/gitlab/bitbucket_import/importer.rb
@@ -241,7 +241,7 @@ module Gitlab
end
def generate_line_code(pr_comment)
- Gitlab::Git::Conflict::LineCode.generate(pr_comment.file_path, pr_comment.new_pos, pr_comment.old_pos)
+ Gitlab::Git.diff_line_code(pr_comment.file_path, pr_comment.new_pos, pr_comment.old_pos)
end
def pull_request_comment_attributes(comment)