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 /tree-diff.c | |
parent | upload-pack: factor out processing lines (diff) | |
download | tgif-635365eb2f67bc17482c5dbe076f20832cf92ae2.tar.xz |
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 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions