The source project of this merge request has been removed.
If lookup returned Rugged::Tag::Annotation, get the Rugged:Commit in get_tree_entries_from_rugged
Fix for issue #208671 (closed). The current code will assume that repository.lookup
will always return a Rugged::Commit
-object. The lookup function will also return a Rugged::Tag::Annotation
object. Currently the tag-view is broken in the Gitlab UI because of this unexpected behavior. With this fix if the repository.lookup
returned Rugged::Tag::Annotation
, it will get the target from it (which contains a Rugged::Commit
).