rosa-build/app/views/git/commits/_commit_diff.html.haml

12 lines
360 B
Plaintext

.file
%a{ :name => h(commit_diff.a_path.encode_to_default) }
.top
.l= h(commit_diff.a_path.encode_to_default)
- if commit_diff.b_path.present?
.r
= link_to("view file @ #{short_hash_id(@commit.id)}", blob_commit_path(@project, @commit.id, commit_diff.b_path.encode_to_default))
.clear
.diff_data
= render_diff(commit_diff)