aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-04-11 10:44:09 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-04-11 10:44:09 +0800
commitee2d8d246927431859420c9a6304cd5ed5b95756 (patch)
tree05a22d37ba13de3a515ca9def32dda05008e88bc /routers/repo
parent8cfa2be4332abdc8bdcadead36d065eab3d2d55e (diff)
downloadgitea-ee2d8d246927431859420c9a6304cd5ed5b95756.tar.gz
gitea-ee2d8d246927431859420c9a6304cd5ed5b95756.zip
remove trace
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/http.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go
index d15c66e022..d4956deffe 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -119,7 +119,6 @@ func Http(ctx *middleware.Context, params martini.Params) {
config := Config{base.RepoRootPath, "git", true, true, func(rpc string, input []byte) {
if rpc == "receive-pack" {
firstLine := bytes.IndexRune(input, '\n')
- fmt.Println("firstLine", firstLine)
if firstLine > -1 {
fields := strings.Fields(string(input[:firstLine]))
if len(fields) > 3 {