mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-01 23:55:49 +00:00
@@ -172,8 +172,8 @@ func ToCommit(ctx context.Context, repo *repo_model.Repository, gitRepo *git.Rep
|
||||
},
|
||||
Message: commit.MessageUTF8(),
|
||||
Tree: &api.CommitMeta{
|
||||
URL: repo.APIURL() + "/git/trees/" + url.PathEscape(commit.ID.String()),
|
||||
SHA: commit.ID.String(),
|
||||
URL: repo.APIURL() + "/git/trees/" + url.PathEscape(commit.TreeID.String()),
|
||||
SHA: commit.TreeID.String(),
|
||||
Created: commit.Committer.When,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user