diff options
author | Brandon Williams <bmwill@google.com> | 2018-06-28 01:30:21 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-28 19:33:29 +0300 |
commit | 6d1700d564bbd3ecfe11f9889ed3f35a118b9f6a (patch) | |
tree | 33415d7d0f41366fd44b44c1d00b6596026b9b96 /transport.h | |
parent | 05c4422676f6e854aff0277984f4eadcd8912d56 (diff) |
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 'transport.h')
0 files changed, 0 insertions, 0 deletions