summaryrefslogtreecommitdiff
path: root/app/views/projects/commits/_inline_commit.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-10 16:30:14 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-10 16:30:14 +0300
commitea04ed7879ad7177bef7a6dbe3bf90d76ebb8b45 (patch)
tree349f1cae12c591208780b44d0e04c53679f72ad5 /app/views/projects/commits/_inline_commit.html.haml
parentdaa55f31d899819069ddbaa9596769a233b5a729 (diff)
downloadgitlab-ce-ea04ed7879ad7177bef7a6dbe3bf90d76ebb8b45.tar.gz
Use 8chars short sha for commit in views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/commits/_inline_commit.html.haml')
-rw-r--r--app/views/projects/commits/_inline_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commits/_inline_commit.html.haml b/app/views/projects/commits/_inline_commit.html.haml
index b36369b4285..574599aa2d2 100644
--- a/app/views/projects/commits/_inline_commit.html.haml
+++ b/app/views/projects/commits/_inline_commit.html.haml
@@ -1,6 +1,6 @@
%li.commit.inline-commit
.commit-row-title
- = link_to commit.short_id(8), project_commit_path(project, commit), class: "commit_short_id"
+ = link_to commit.short_id, project_commit_path(project, commit), class: "commit_short_id"
&nbsp;
%span.str-truncated
= link_to_gfm commit.title, project_commit_path(project, commit.id), class: "commit-row-message"