diff options
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,11 +1,10 @@ #ifndef REMOTE_H #define REMOTE_H -#include "cache.h" -#include "parse-options.h" #include "hashmap.h" #include "refspec.h" +struct option; struct transport_ls_refs_options; /** @@ -234,6 +233,11 @@ struct ref **get_remote_refs(int fd_out, struct packet_reader *reader, const struct string_list *server_options, int stateless_rpc); +/* Used for protocol v2 in order to retrieve refs from a remote */ +struct bundle_list; +int get_remote_bundle_uri(int fd_out, struct packet_reader *reader, + struct bundle_list *bundles, int stateless_rpc); + int resolve_remote_symref(struct ref *ref, struct ref *list); /* |