Browse Source

remove trace

for-closed-social
Lunny Xiao 10 years ago
parent
commit
ee2d8d2469
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      routers/repo/http.go

+ 0
- 1
routers/repo/http.go View File

@ -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 {

Loading…
Cancel
Save