aboutsummaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-25 17:28:02 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-25 17:28:02 +0800
commitc0649c861cb2f16ee0d90927d4f0c7f307c18abb (patch)
tree50263b3f3882bc657eced1d56df87c91b917d682 /serve.go
parentfcbe7ef5c171c76b2966511a5aae2d4287548c58 (diff)
parent649bc91057398e6c7cd31b41f15fafeffba167ef (diff)
downloadgitea-c0649c861cb2f16ee0d90927d4f0c7f307c18abb.tar.gz
gitea-c0649c861cb2f16ee0d90927d4f0c7f307c18abb.zip
Merge branch 'master' of localhost:xiaoxiao/gogs4
Conflicts: .gitignore
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/serve.go b/serve.go
index f9e915ed84..480b122f3b 100644
--- a/serve.go
+++ b/serve.go
@@ -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