Skip to content
  • Junio C Hamano's avatar
    signed push: remove duplicated protocol info · 4adf569d
    Junio C Hamano authored
    
    
    With the interim protocol, we used to send the update commands even
    though we already send a signed copy of the same information when
    push certificate is in use.  Update the send-pack/receive-pack pair
    not to do so.
    
    The notable thing on the receive-pack side is that it makes sure
    that there is no command sent over the traditional protocol packet
    outside the push certificate.  Otherwise a pusher can claim to be
    pushing one set of ref updates in the signed certificate while
    issuing commands to update unrelated refs, and such an update will
    evade later audits.
    
    Finally, start documenting the protocol.
    
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    4adf569d