aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-09-10 09:36:12 -0400
committer无闻 <joe2010xtmf@163.com>2014-09-10 09:36:12 -0400
commit18a80b291b952ec52112d026d8d9140c005e382f (patch)
tree840a102027462dbe2ceabe8a4c6c0b72d5e79ec1
parent2a3660dae3b8fa8322e55f04d27a301d45d33b02 (diff)
parent52d15ddec81127855a9981029cb77d4ed2798e79 (diff)
downloadgitea-18a80b291b952ec52112d026d8d9140c005e382f.tar.gz
gitea-18a80b291b952ec52112d026d8d9140c005e382f.zip
Merge pull request #456 from compressed/send_hook_immediately
Deliver hooks immediately after commit
-rw-r--r--models/action.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go
index c0992dba68..295a61ccdb 100644
--- a/models/action.go
+++ b/models/action.go
@@ -314,6 +314,8 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string,
}
}
}
+
+ go DeliverHooks()
return nil
}