瀏覽代碼

Merge branch 'master' of localhost:xiaoxiao/gogs4

Conflicts:
	.gitignore
Lunny Xiao 11 年之前
父節點
當前提交
c0649c861c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      serve.go

+ 3 - 0
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