Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-10-07 01:42:56 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-10-13 03:45:16 +0300
commitf72598b659871a3d4e8ef1905918067522ba2a29 (patch)
tree97e3c6d8311c134a0df4ffa5023b4e43aea45012 /lib/gitlab/github_import
parent9fda629a347cb43d8f5871f101192187fcdeeea2 (diff)
Move Gitlab::Diff::LineCode to module Gitlab::Git
Diffstat (limited to 'lib/gitlab/github_import')
-rw-r--r--lib/gitlab/github_import/comment_formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/comment_formatter.rb b/lib/gitlab/github_import/comment_formatter.rb
index e21922070c1..6490cd7002d 100644
--- a/lib/gitlab/github_import/comment_formatter.rb
+++ b/lib/gitlab/github_import/comment_formatter.rb
@@ -38,7 +38,7 @@ module Gitlab
end
def generate_line_code(line)
- Gitlab::Diff::LineCode.generate(file_path, line.new_pos, line.old_pos)
+ Gitlab::Git::DiffLineCode.generate(file_path, line.new_pos, line.old_pos)
end
def on_diff?