mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix #495 and cannot view repository by tag
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user