Error with tag that points to a raw hash-object
Created by: ohardy
I used git hash-object to add my public key to a repository and I tag it. When i try to display tags of this repository in gitlab, i got this in log file :
ActionView::Template::Error (Invalid raw commit type: Rugged::Blob):
1: - commit = @repository.commit(tag.target)
2: %li
3: %h4
4: = link_to project_commits_path(@project, tag.name), class: "" do
app/models/repository.rb:30:in `commit'
app/views/projects/tags/_tag.html.haml:1:in `_app_views_projects_tags__tag_html_haml___2320308574866459770_40378680'
app/views/projects/tags/index.html.haml:19:in `block in _app_views_projects_tags_index_html_haml___2991469522415897290_39675960'
app/views/projects/tags/index.html.haml:18:in `each'
app/views/projects/tags/index.html.haml:18:in `_app_views_projects_tags_index_html_haml___2991469522415897290_39675960'