diff options
| author | Brandon Williams <bmwill@google.com> | 2018-03-14 11:31:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-03-14 14:15:06 -0700 |
| commit | 635365eb2f67bc17482c5dbe076f20832cf92ae2 (patch) | |
| tree | 93511a97a48b77cb000caaf4d6d3245b6f8c02f7 /protocol.c | |
| parent | ae2948f30c7de56e2805d26f78ea8205f6c98682 (diff) | |
| download | git-635365eb2f67bc17482c5dbe076f20832cf92ae2.tar.gz | |
transport: use get_refs_via_connect to get refs
Remove code duplication and use the existing 'get_refs_via_connect()'
function to retrieve a remote's heads in 'fetch_refs_via_pack()' and
'git_transport_push()'.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'protocol.c')
0 files changed, 0 insertions, 0 deletions
