Commit 7a0a552b authored by Valeriy Sizov's avatar Valeriy Sizov

revert

parent 31f1cebe
...@@ -176,8 +176,6 @@ module Gitlab ...@@ -176,8 +176,6 @@ module Gitlab
if commit = @project.commit(identifier) if commit = @project.commit(identifier)
link_to(identifier, project_commit_path(@project, commit), html_options.merge(title: CommitDecorator.new(commit).link_title, class: "gfm gfm-commit #{html_options[:class]}")) link_to(identifier, project_commit_path(@project, commit), html_options.merge(title: CommitDecorator.new(commit).link_title, class: "gfm gfm-commit #{html_options[:class]}"))
end end
rescue Grit::NoSuchPathError
nil
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment