mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix #515
This commit is contained in:
		| @@ -40,11 +40,11 @@ func (repo *Repository) GetCommitIdOfTag(tagName string) (string, error) { | ||||
| } | ||||
|  | ||||
| func (repo *Repository) GetCommitOfTag(tagName string) (*Commit, error) { | ||||
| 	commitId, err := repo.GetCommitIdOfTag(tagName) | ||||
| 	tag, err := repo.GetTag(tagName) | ||||
| 	if err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	return repo.GetCommit(commitId) | ||||
| 	return tag.Commit() | ||||
| } | ||||
|  | ||||
| // Parse commit information from the (uncompressed) raw | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Unknwon
					Unknwon