diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2019-08-22 01:20:10 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-23 00:20:39 +0300 |
commit | fddf2ebe388f3a11013c14ebe012dee520caa9ff (patch) | |
tree | 1ce2dd316562c4b753502672883490137f966ca9 /transport-helper.c | |
parent | ac3fda82bfe1c9e99c5838d052c678c78139ee34 (diff) |
transport: teach all vtables to allow fetch first
The only transport that does not allow fetch() to be called before
get_refs_list() is the bundle transport. Clean up the code by teaching
the bundle transport the ability to do this, and removing support for
transports that don't support this order of invocation.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c index 1fb31e1a6e..96955d4004 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -1146,7 +1146,6 @@ static struct ref *get_refs_list_using_list(struct transport *transport, } static struct transport_vtable vtable = { - 1, set_helper_option, get_refs_list, fetch, |