Fix #495 and cannot view repository by tag

This commit is contained in:
Unknwon committed 2014-09-23 13:06:25 -04:00
1 parent a11ed51bbb
commit ebb05475ed
7 files changed
+14 -10

No files matched your search

+1
View File
@@ -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