|
|
@@ -2,7 +2,7 @@ |
|
|
json.files_count @commit_diff['NumFiles'] |
|
|
json.files_count @commit_diff['NumFiles'] |
|
|
json.total_addition @commit_diff['TotalAddition'] |
|
|
json.total_addition @commit_diff['TotalAddition'] |
|
|
json.total_deletion @commit_diff['TotalDeletion'] |
|
|
json.total_deletion @commit_diff['TotalDeletion'] |
|
|
json.files @commit_diff['Files'], partial: 'pull_requests/diff_file', as: :file, locals: {sha: ""} |
|
|
|
|
|
|
|
|
json.files @commit_diff['Files'], partial: 'pull_requests/diff_file', as: :file, locals: {sha: @sha} |
|
|
|
|
|
|
|
|
json.partial! 'commit', commit: @commit, project: @project |
|
|
json.partial! 'commit', commit: @commit, project: @project |
|
|
json.parents @commit['parents'] do |parent| |
|
|
json.parents @commit['parents'] do |parent| |
|
|
|