summaryrefslogtreecommitdiff
path: root/upload-pack.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-03-15 10:31:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-15 12:01:08 -0700
commit3145ea957d2ca6ba7afb087c9ed680e08d705690 (patch)
treec8d247c2a0a96a2a3ad8849d772c668c5799908c /upload-pack.h
parentpush: pass ref prefixes when pushing (diff)
downloadtgif-3145ea957d2ca6ba7afb087c9ed680e08d705690.tar.xz
upload-pack: introduce fetch server command
Introduce the 'fetch' server 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/upload-pack.h b/upload-pack.h
index a71e4dc7e2..5bbdb7e445 100644
--- a/upload-pack.h
+++ b/upload-pack.h
@@ -10,4 +10,10 @@ struct upload_pack_options {
void upload_pack(struct upload_pack_options *options);
+struct repository;
+struct argv_array;
+struct packet_reader;
+extern int upload_pack_v2(struct repository *r, struct argv_array *keys,
+ struct packet_reader *request);
+
#endif /* UPLOAD_PACK_H */