diff options
-rw-r--r-- | serve.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,7 @@ import ( "os/exec" "strconv" "strings" + "time" "github.com/codegangsta/cli" "github.com/gogits/gogs/modules/log" @@ -205,6 +206,8 @@ func runServ(k *cli.Context) { return } + time.Sleep(time.Second) + // find push reference name var t = "ok refs/heads/" var i int |