fix mistype in the diff commits view
This commit is contained in:
parent
d268bb7c99
commit
42156cfdea
|
@ -15,7 +15,7 @@
|
|||
.both
|
||||
-begin
|
||||
=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
|
||||
.file
|
||||
%a{name: "diff-#{diff_counter}"}
|
||||
|
|
Loading…
Reference in New Issue