summaryrefslogtreecommitdiff
path: root/app/views/events/event/_push.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/event/_push.html.haml')
-rw-r--r--app/views/events/event/_push.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml
index 1bca64c7d50..b912b5e092f 100644
--- a/app/views/events/event/_push.html.haml
+++ b/app/views/events/event/_push.html.haml
@@ -22,4 +22,4 @@
- if event.commits_count > 2
%span ... and #{event.commits_count - 2} more commits.
= link_to project_compare_path(event.project, from: event.commit_from, to: event.commit_to) do
- %strong Compare → #{event.commit_from[0..7]}...#{event.commit_to[0..7]}
+ %strong Compare → #{truncate_sha(event.commit_from)}...#{truncate_sha(event.commit_to)}