~sircmpwn/git.sr.ht

de713b87fcb5c0834e5fa6c780f8d205272badb6 — Drew DeVault 2 months ago a3fe57b 0.50.1
gitsrht-update-hook: fix commit URL
1 files changed, 1 insertions(+), 1 deletions(-)

M gitsrht-update-hook/submitter.go
M gitsrht-update-hook/submitter.go => gitsrht-update-hook/submitter.go +1 -1
@@ 170,7 170,7 @@ func indent(indent, s string) string {

func (submitter GitBuildSubmitter) GetCommitNote() string {
	policy := bluemonday.StrictPolicy()
	commitUrl := fmt.Sprintf("%s/%s/%s/commit/%s", submitter.GitOrigin,
	commitUrl := fmt.Sprintf("%s/~%s/%s/commit/%s", submitter.GitOrigin,
		submitter.OwnerName, submitter.RepoName,
		submitter.GetCommitId())
	return fmt.Sprintf("[%s][0] — [%s][1]\n\n%s\n\n[0]: %s\n[1]: mailto:%s",