summaryrefslogtreecommitdiff
path: root/t/t556x_common
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-06-27 15:30:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-28 09:33:29 -0700
commit989b8c4452f63f415c276df348defce6df613696 (patch)
tree029de07c0156624befefe59adc7dfdf569f1c264 /t/t556x_common
parentfetch: refactor to make function args narrower (diff)
downloadtgif-989b8c4452f63f415c276df348defce6df613696.tar.xz
fetch-pack: put shallow info in output parameter
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: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t556x_common')
0 files changed, 0 insertions, 0 deletions