diff options
author | Brandon Williams <bmwill@google.com> | 2018-06-27 15:30:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-28 09:33:29 -0700 |
commit | 6d1700d564bbd3ecfe11f9889ed3f35a118b9f6a (patch) | |
tree | 33415d7d0f41366fd44b44c1d00b6596026b9b96 /t/t556x_common | |
parent | fetch: refactor fetch_refs into two functions (diff) | |
download | tgif-6d1700d564bbd3ecfe11f9889ed3f35a118b9f6a.tar.xz |
fetch: refactor to make function args narrower
Refactor find_non_local_tags and get_ref_map to only take the
information they need instead of the entire transport struct. Besides
improving code clarity, this also improves their flexibility, allowing
for a different set of refs to be used instead of relying on the ones
stored in the transport struct.
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