Skip to content
  • Brandon Williams's avatar
    fetch-pack: put shallow info in output parameter · 989b8c44
    Brandon Williams authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Expand the transport fetch method signature, by adding an output
    parameter, to allow transports to return information about the refs they
    have fetched.  Then communicate shallow status information through this
    mechanism instead of by modifying the input list of refs.
    
    This does require clients to sometimes generate the ref map twice: once
    from the list of refs provided by the remote (as is currently done) and
    potentially once from the new list of refs that the fetch mechanism
    provides.
    
    Signed-off-by: default avatarBrandon Williams <bmwill@google.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    989b8c44