diff --git a/app/views/apps/index.html.haml b/app/views/apps/index.html.haml
index f5d476f..6e1d6f3 100644
--- a/app/views/apps/index.html.haml
+++ b/app/views/apps/index.html.haml
@@ -12,7 +12,9 @@
- @apps.each do |app|
%tr
%td.name= link_to app.name, app_path(app)
- %td.deploy= app.last_deploy_at ? link_to( app.last_deploy_at.to_s(:micro) << " (#{app.deploys.last.short_revision})", app_deploys_path(app)) : 'n/a'
+ %td.deploy
+ - revision = app.deploys.last.short_revision
+ = app.last_deploy_at ? link_to( app.last_deploy_at.to_s(:micro) << (revision.present? ? " (#{revision})" : ""), app_deploys_path(app)) : 'n/a'
%td.count
- if app.errs.count > 0
- unresolved = @unresolved_counts[app.id]
--
libgit2 0.21.2