forked from forgejo/forgejo
Fix #495 and cannot view repository by tag
This commit is contained in:
parent
a11ed51bbb
commit
ebb05475ed
7 changed files with 14 additions and 10 deletions
|
@ -77,6 +77,7 @@ func (repo *Repository) getTag(id sha1) (*Tag, error) {
|
|||
}
|
||||
|
||||
tag.Id = id
|
||||
tag.Object = id
|
||||
tag.repo = repo
|
||||
|
||||
repo.tagCache[id] = tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue