all repos

mugit @ 0e60f3e8c9dd4b47906fc94725266ef04b0a752d

馃惍 git server that your cow will love
1 files changed, 2 insertions(+), 2 deletions(-)
fix(git): send stderr to io.Discard for HTTP protocol handlers
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-06-25 21:31:37 +0300
Authored at: 2026-06-25 21:10:05 +0300
Change ID: rupuwxuzkmvlzsmymzpqvmuusnvkoyyw
Parent: 5480fec
M internal/git/pack.go
路路路
        25
        25
         			"upload-pack", "--stateless-rpc", "--advertise-refs",

      
        26
        26
         		},

      
        27
        27
         		Stdout: out,

      
        28
        
        -		Stderr: out, // TODO: Check if this is correct.

      
        
        28
        +		Stderr: io.Discard,

      
        29
        29
         	}); err != nil {

      
        30
        30
         		return fmt.Errorf("git-upload-pack: %w", err)

      
        31
        31
         	}

      路路路
        45
        45
         		GitProtocol: protocol,

      
        46
        46
         		Stdin:       in,

      
        47
        47
         		Stdout:      out,

      
        48
        
        -		Stderr:      out, // TODO: Check if this is correct.

      
        
        48
        +		Stderr:      io.Discard,

      
        49
        49
         	}); err != nil {

      
        50
        50
         		return fmt.Errorf("git-upload-pack: %w", err)

      
        51
        51
         	}