From b216bcf335b19662bc7c242981ed3af53408c3fe Mon Sep 17 00:00:00 2001 From: Keith Rutkowski Date: Mon, 2 Apr 2018 10:48:14 -0400 Subject: [PATCH] Change commit ref comments to use a more parse-able form of content --- models/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/action.go b/models/action.go index 57f0a01e0..740bcd0d0 100644 --- a/models/action.go +++ b/models/action.go @@ -562,7 +562,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit, com } if (mask & KeywordsFoundReference) == KeywordsFoundReference { - message := fmt.Sprintf(`%s`, repo.Link(), c.Sha1, c.Message) + message := fmt.Sprintf("%d %s", repo.ID, c.Sha1) if err = CreateCommitRefComment(doer, repo, issue, message, c.Sha1); err != nil { return err }