diff options
author | Brandon Williams <bmwill@google.com> | 2018-03-15 20:31:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-15 22:01:08 +0300 |
commit | 685fbd32916f3e94bc89aa14e8fdce835b06f801 (patch) | |
tree | 679bcd54162edebd9c4f73aafa052888e63d7895 /upload-pack.h | |
parent | 3145ea957d2ca6ba7afb087c9ed680e08d705690 (diff) |
fetch-pack: perform a fetch using v2
When communicating with a v2 server, perform a fetch by requesting the
'fetch' command.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.h')
-rw-r--r-- | upload-pack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/upload-pack.h b/upload-pack.h index 5bbdb7e445..cab2178796 100644 --- a/upload-pack.h +++ b/upload-pack.h @@ -16,4 +16,8 @@ struct packet_reader; extern int upload_pack_v2(struct repository *r, struct argv_array *keys, struct packet_reader *request); +struct strbuf; +extern int upload_pack_advertise(struct repository *r, + struct strbuf *value); + #endif /* UPLOAD_PACK_H */ |