t4022: abstract away SHA-1-specific constants
[gitweb.git] / upload-pack.h
index a71e4dc7e21a3ed1d7e7830a8086260cdb7cba11..cab2178796a6406ed154c56bc9e06e54ba41c6f6 100644 (file)
@@ -10,4 +10,14 @@ 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);
+
+struct strbuf;
+extern int upload_pack_advertise(struct repository *r,
+                                struct strbuf *value);
+
 #endif /* UPLOAD_PACK_H */