diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-10-10 20:44:14 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-10-13 04:13:05 +0300 |
commit | 9fdde3693b3b49e929b7c80ccbec4abe412edb7f (patch) | |
tree | a0d6b1b4a21a2c2cc6d2322ecb410e08ef9103a4 /lib/gitlab/bitbucket_import | |
parent | faa9bd402d3521b3f7b4cc2583f8ef1b3cceb821 (diff) |
Move line code generation into Gitlab::Git
Having a distinct class just for that was a bit overkill
Diffstat (limited to 'lib/gitlab/bitbucket_import')
-rw-r--r-- | lib/gitlab/bitbucket_import/importer.rb | 2 |
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) |