summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-07 10:46:57 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-07 10:46:57 -0500
commit2a2596fe615e4f18e0aff02cc8a016fea0463849 (patch)
treec4a22ca4a195fa4ccdbfee80bae83a1a309548e5 /models/action.go
parent3f2e99962cd466da2eb09fe4719f258e6f7a39e4 (diff)
downloadgitea-2a2596fe615e4f18e0aff02cc8a016fea0463849.tar.gz
gitea-2a2596fe615e4f18e0aff02cc8a016fea0463849.zip
able to disable SSH for #883
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go
index 34f543c4b2..a6c6cfbfaa 100644
--- a/models/action.go
+++ b/models/action.go
@@ -119,8 +119,6 @@ func (a Action) GetIssueInfos() []string {
func updateIssuesCommit(userId, repoId int64, repoUserName, repoName string, commits []*base.PushCommit) error {
for _, c := range commits {
- // FIXME: should not be a reference when it comes with action.
- // e.g. fixes #1 will not have duplicated reference message.
for _, ref := range IssueReferenceKeywordsPat.FindAllString(c.Message, -1) {
ref := ref[strings.IndexByte(ref, byte(' '))+1:]
ref = strings.TrimRightFunc(ref, func(c rune) bool {