• Show log

    Commit

  • Hash : 27b75514
    Author : Stefan Sperling
    Date : 2021-08-28T10:46:51

    do not send a pack file when 'got send' is only deleting branches
    
    The git protocol spec says the client MUST NOT send a pack file
    if the only command used is 'delete'.
    
    Fixes 'got send -d' against Github's server which closed the session
    upon receiving the empty pack file we sent. This problem wasn't caught
    by regression tests since git-daemon does accept an empty pack file.
    
    Problem reported by jrick.