Browse Source

Merge branch 'master' of localhost:xiaoxiao/gogs4

Conflicts:
	.gitignore
Lunny Xiao 11 years ago
parent
commit
c0649c861c
1 changed files with 3 additions and 0 deletions
  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