• Junio C Hamano's avatar
    fetch: use struct ref to represent refs to be fetched · f2db854d
    Junio C Hamano authored
    Even though "git fetch" has full infrastructure to parse refspecs to
    be fetched and match them against the list of refs to come up with
    the final list of refs to be fetched, the list of refs that are
    requested to be fetched were internally converted to a plain list of
    strings at the transport layer and then passed to the underlying
    fetch-pack driver.
    
    Stop this conversion and instead pass around an array of refs.
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    f2db854d
fetch-pack.h 734 Bytes