• Stan Hu's avatar
    Fix handling of annotated tags when Gitaly is not in use · 9d8b8e64
    Stan Hu authored
    Attempting to view an annotated tag in the TreeController would result
    in `NoMethodError: undefined method 'tree'` when Rugged was in use.
    `Blob#find_by_rugged` assumes that the ref is a true. Using
    the commit ID ensures that the right ref is being used.
    
    Closes gitlab-org/gitlab-ce!47797
    9d8b8e64
sh-fix-issue-47797.yml 103 Bytes