mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 16:44:41 +02:00
1 parent
6bb74ed65d
commit
ebcb0150d1
4 files changed
+23
-2
No files matched your search
@@ -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