]> source.dussan.org Git - gitea.git/commitdiff
deliver hooks immediately after commit
authorChristopher Brickley <brickley@gmail.com>
Wed, 10 Sep 2014 12:53:16 +0000 (08:53 -0400)
committerChristopher Brickley <brickley@gmail.com>
Wed, 10 Sep 2014 12:57:11 +0000 (08:57 -0400)
models/action.go

index c0992dba68a89c3351be1f8a6f0b8efd5581e7fa..295a61ccdb2eaa5b8f30dd8db12e7d9c852769b2 100644 (file)
@@ -314,6 +314,8 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string,
                        }
                }
        }
+
+       go DeliverHooks()
        return nil
 }