mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	@@ -149,6 +149,7 @@ func ToCommit(repo *models.Repository, commit *git.Commit, userCache map[string]
 | 
			
		||||
		CommitMeta: &api.CommitMeta{
 | 
			
		||||
			URL:     repo.APIURL() + "/git/commits/" + commit.ID.String(),
 | 
			
		||||
			SHA:     commit.ID.String(),
 | 
			
		||||
			Created: commit.Committer.When,
 | 
			
		||||
		},
 | 
			
		||||
		HTMLURL: repo.HTMLURL() + "/commit/" + commit.ID.String(),
 | 
			
		||||
		RepoCommit: &api.RepoCommit{
 | 
			
		||||
@@ -171,6 +172,7 @@ func ToCommit(repo *models.Repository, commit *git.Commit, userCache map[string]
 | 
			
		||||
			Tree: &api.CommitMeta{
 | 
			
		||||
				URL:     repo.APIURL() + "/git/trees/" + commit.ID.String(),
 | 
			
		||||
				SHA:     commit.ID.String(),
 | 
			
		||||
				Created: commit.Committer.When,
 | 
			
		||||
			},
 | 
			
		||||
		},
 | 
			
		||||
		Author:    apiAuthor,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user