fix mistype in the diff commits view

This commit is contained in:
Alexander Machehin 2014-09-10 22:55:50 +06:00
parent d268bb7c99
commit 42156cfdea
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
.both .both
-begin -begin
=render_diff_stats @stats =render_diff_stats @stats
- Grit::Commit.diff(@project.repo, @commit1.id, @commit.id).each_with_index do |commit_diff, diff_counter| - Grit::Commit.diff(@project.repo, @common_ancestor.id, @commit.id).each_with_index do |commit_diff, diff_counter|
- commit_id = commit_diff.deleted_file ? @common_ancestor.id : @commit.id - commit_id = commit_diff.deleted_file ? @common_ancestor.id : @commit.id
.file .file
%a{name: "diff-#{diff_counter}"} %a{name: "diff-#{diff_counter}"}