Change commit ref comments to use a more parse-able form of content
This commit is contained in:
parent
96dd2686b1
commit
b216bcf335
|
@ -562,7 +562,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit, com
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mask & KeywordsFoundReference) == KeywordsFoundReference {
|
if (mask & KeywordsFoundReference) == KeywordsFoundReference {
|
||||||
message := fmt.Sprintf(`<a href="%s/commit/%s">%s</a>`, 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 {
|
if err = CreateCommitRefComment(doer, repo, issue, message, c.Sha1); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user