Refactor commit reader (#34542)

This commit is contained in:
wxiaoguang
2025-05-28 00:49:05 +08:00
repo.diff.committed_by GitHub
repo.diff.parent 688da55f54
repo.diff.commit 9f10885b21
repo.diff.stats_desc%!(EXTRA int=4, int=71, int=87)

repo.diff.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.