1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-04 09:37:19 +00:00

Refactor commit reader (#34542)

This commit is contained in:
wxiaoguang
2025-05-28 00:49:05 +08:00
committed by GitHub
parent 688da55f54
commit 9f10885b21
4 changed files with 71 additions and 87 deletions

View File

@ -34,7 +34,7 @@ type Commit struct {
// CommitSignature represents a git commit signature part.
type CommitSignature struct {
Signature string
Payload string // TODO check if can be reconstruct from the rest of commit information to not have duplicate data
Payload string
}
// Message returns the commit message. Same as retrieving CommitMessage directly.