mirror of
https://git.ferricyanide.solutions/A_D/irc-webhooks.git
synced 2024-12-22 08:27:04 +00:00
added emails to commit messages
This commit is contained in:
parent
e736688891
commit
ac7f124bdf
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user