mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 22:33:53 +01:00
22a93c1cdc
Backport #32432 by @kemzeb Resolves #32371. #31970 should have just showed the commit summary, but `strings.SplitN()` was misused such that we did not perform any splitting at all and just used the message. This was not caught in the unit test made in that PR since the test commit summary was > 50 (which truncated away the commit description). This snapshot resolves this and adds another unit test to ensure that we only show the commit summary. Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com> |
||
---|---|---|
.. | ||
deliver.go | ||
deliver_test.go | ||
dingtalk.go | ||
dingtalk_test.go | ||
discord.go | ||
discord_test.go | ||
feishu.go | ||
feishu_test.go | ||
general.go | ||
general_test.go | ||
main_test.go | ||
matrix.go | ||
matrix_test.go | ||
msteams.go | ||
msteams_test.go | ||
notifier.go | ||
packagist.go | ||
packagist_test.go | ||
payloader.go | ||
slack.go | ||
slack_test.go | ||
telegram.go | ||
telegram_test.go | ||
webhook.go | ||
webhook_test.go | ||
wechatwork.go |