mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 08:42:32 -05:00
remove trace
This commit is contained in:
parent
8cfa2be433
commit
ee2d8d2469
1 changed files with 0 additions and 1 deletions
|
@ -119,7 +119,6 @@ func Http(ctx *middleware.Context, params martini.Params) {
|
||||||
config := Config{base.RepoRootPath, "git", true, true, func(rpc string, input []byte) {
|
config := Config{base.RepoRootPath, "git", true, true, func(rpc string, input []byte) {
|
||||||
if rpc == "receive-pack" {
|
if rpc == "receive-pack" {
|
||||||
firstLine := bytes.IndexRune(input, '\n')
|
firstLine := bytes.IndexRune(input, '\n')
|
||||||
fmt.Println("firstLine", firstLine)
|
|
||||||
if firstLine > -1 {
|
if firstLine > -1 {
|
||||||
fields := strings.Fields(string(input[:firstLine]))
|
fields := strings.Fields(string(input[:firstLine]))
|
||||||
if len(fields) > 3 {
|
if len(fields) > 3 {
|
||||||
|
|
Loading…
Reference in a new issue