added emails to commit messages

This commit is contained in:
A_D 2018-11-17 21:45:40 +02:00
parent e736688891
commit ac7f124bdf
No known key found for this signature in database
GPG Key ID: C242F3DD220FA945
1 changed files with 3 additions and 2 deletions

View File

@ -87,10 +87,11 @@ func handlePush(data []byte, msgChan chan string) {
}
commitDesc := strings.SplitN(commit.Message, "\n", 1)[0]
msgChan <- fmt.Sprintf(
"[%s] commit %s created by %s: %s",
"[%s] commit %s created by %s (%s): %s",
pushData.Repository.FullName,
shortHash(commit.Hash),
commit.Author.Username,
commit.Author.Name,
commit.Author.Email,
commitDesc,
)
count++