diff options
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/models/update.go b/models/update.go index 9b2078c986..be50a15e5a 100644 --- a/models/update.go +++ b/models/update.go @@ -57,11 +57,13 @@ func ListToPushCommits(l *list.List) *PushCommits { } commits = append(commits, &PushCommit{ - Sha1: commit.ID.String(), - Message: commit.Message(), - AuthorEmail: commit.Author.Email, - AuthorName: commit.Author.Name, - Timestamp: commit.Author.When, + Sha1: commit.ID.String(), + Message: commit.Message(), + AuthorEmail: commit.Author.Email, + AuthorName: commit.Author.Name, + CommitterEmail: commit.Committer.Email, + CommitterName: commit.Committer.Name, + Timestamp: commit.Author.When, }) } return &PushCommits{l.Len(), commits, "", nil} |