mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 10:44:12 +01:00 
			
		
		
		
	remove trace
This commit is contained in:
		
							parent
							
								
									8cfa2be433
								
							
						
					
					
						commit
						ee2d8d2469
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user