summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-03-14 11:31:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-14 14:15:06 -0700
commit635365eb2f67bc17482c5dbe076f20832cf92ae2 (patch)
tree93511a97a48b77cb000caaf4d6d3245b6f8c02f7 /connect.c
parentupload-pack: factor out processing lines (diff)
downloadtgif-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 'connect.c')
0 files changed, 0 insertions, 0 deletions