gitlab-org--gitlab-foss/changelogs/unreleased/sh-fix-issue-47797-ce.yml
Stan Hu 31f2608161 Fix handling of annotated tags when Gitaly is not in use
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.

Note that in 11.1, `Blob#find` no longer uses Rugged, so this is only
a bug in 11.0.

Closes gitlab-org/gitlab-ce#47797
2018-07-09 06:30:19 -07:00

5 lines
103 B
YAML

---
title: Fix handling of annotated tags when Gitaly is not in use
merge_request:
author:
type: fixed