added emails to commit messages

This commit is contained in:
A_D
2018-11-17 21:45:40 +02:00
parent e736688891
commit ac7f124bdf

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++