From 93dc885530aa80b84a2e39841f82a51a6e62f4a5 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 8 Sep 2014 22:25:20 +0300 Subject: [PATCH] Fix usage of diff file mode change Signed-off-by: Dmitriy Zaporozhets --- app/views/projects/diffs/_text_file.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/diffs/_text_file.html.haml b/app/views/projects/diffs/_text_file.html.haml index 81f726c8e4f..b1c987563f1 100644 --- a/app/views/projects/diffs/_text_file.html.haml +++ b/app/views/projects/diffs/_text_file.html.haml @@ -31,6 +31,6 @@ = render "projects/diffs/match_line", {line: "", line_old: last_line, line_new: last_line, bottom: true} -- if diff_file.diff.blank? && diff_file_mode_changed?(diff) +- if diff_file.diff.blank? && diff_file.mode_changed? .file-mode-changed File mode changed -- GitLab