summaryrefslogtreecommitdiff
path: root/lib/github/representation/comment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/github/representation/comment.rb')
-rw-r--r--lib/github/representation/comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/representation/comment.rb b/lib/github/representation/comment.rb
index 0cb871630fd..83bf0b5310d 100644
--- a/lib/github/representation/comment.rb
+++ b/lib/github/representation/comment.rb
@@ -23,7 +23,7 @@ module Github
private
def generate_line_code(line)
- Gitlab::Git::Conflict::LineCode.generate(file_path, line.new_pos, line.old_pos)
+ Gitlab::Git.diff_line_code(file_path, line.new_pos, line.old_pos)
end
def on_diff?