summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-11-09 17:53:15 +0400
committerNihad Abbasov <narkoz.2008@gmail.com>2011-11-09 17:53:15 +0400
commit3f70316c5f264948d74eb9080079be4c78f5aaa9 (patch)
treeea618a5c0cc1e5c5882d735f5744368f78904a6b
parentb78f6581434b30f18e694e57c7427ad764fc26f4 (diff)
downloadgitlab-ce-3f70316c5f264948d74eb9080079be4c78f5aaa9.tar.gz
fix elsif statement
-rw-r--r--app/views/commits/_text_file.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/commits/_text_file.html.haml b/app/views/commits/_text_file.html.haml
index 1ef4a3c8a66..ed9adffd1e0 100644
--- a/app/views/commits/_text_file.html.haml
+++ b/app/views/commits/_text_file.html.haml
@@ -13,10 +13,8 @@
= diff_line(line, line_new, line_old)
- if line[0] == "+"
- line_new += 1
- - elsif
- - line[0] == "-"
+ - elsif line[0] == "-"
- line_old += 1
- else
- line_new += 1
- line_old += 1
-