From bacd95810b33cde3f2f17e439b772ff10f49e3bb Mon Sep 17 00:00:00 2001
From: ubudzisz <ubudzisz@gmail.com>
Date: Thu, 7 Jul 2016 12:26:48 +0200
Subject: [PATCH] render-only-commit-title-update

---
 app/views/projects/builds/_sidebar.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml
index 3fc1157ddcb..aba09a37ac7 100644
--- a/app/views/projects/builds/_sidebar.html.haml
+++ b/app/views/projects/builds/_sidebar.html.haml
@@ -96,7 +96,7 @@
     .title
       Commit title
     %p.build-light-text.append-bottom-0
-      #{@build.pipeline.commit.try(:title)}
+      #{@build.commit.title}
 
   - if @build.tags.any?
     .block
-- 
GitLab