Commit 84043e8e44337353169a7c1ec8ccca2ce823b995
1 parent
235605fc
Exists in
master
and in
4 other branches
Fix lines and line numbers being squashed in File -> blame
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
app/views/blame/show.html.haml
| @@ -38,9 +38,11 @@ | @@ -38,9 +38,11 @@ | ||
| 38 | - current_line += 1 | 38 | - current_line += 1 |
| 39 | - else | 39 | - else |
| 40 | - lines.each do |line| | 40 | - lines.each do |line| |
| 41 | - = current_line | 41 | + :preserve |
| 42 | + #{current_line} | ||
| 42 | - current_line += 1 | 43 | - current_line += 1 |
| 43 | %td.lines | 44 | %td.lines |
| 44 | %pre | 45 | %pre |
| 45 | - lines.each do |line| | 46 | - lines.each do |line| |
| 46 | - = line | 47 | + :preserve |
| 48 | + #{line} |