]> git.ipfire.org Git - thirdparty/git.git/commit - transport.c
transport: rename "fetch" in transport_vtable to "fetch_refs"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 5 Aug 2021 01:25:35 +0000 (03:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Aug 2021 15:59:36 +0000 (08:59 -0700)
commit9b1cdd334d458a063dd43058fca551b7ab57e333
treecf3e5d6781b876a68ed7e49661bb354d32af3e78
parenteacf36a4d1d6e83418c02f61e0c418d049000240
transport: rename "fetch" in transport_vtable to "fetch_refs"

Rename the "fetch" member of the transport_vtable to "fetch_refs" for
consistency with the existing "push_refs". Neither of them just push
"refs" but refs and objects, but having the two match makes the code
more readable than having it be inconsistent, especially since
"fetch_refs" is a lot easier to grep for than "fetch".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c
transport-internal.h
transport.c