]> git.ipfire.org Git - thirdparty/git.git/blobdiff - upload-pack.h
t1430: remove refs using test-tool
[thirdparty/git.git] / upload-pack.h
index 27ddcdc6cb071fd916ad48219a520d8973e961e0..d6ee25ea98e1b350377a3b9fb6e3750e516517f8 100644 (file)
@@ -1,20 +1,12 @@
 #ifndef UPLOAD_PACK_H
 #define UPLOAD_PACK_H
 
-struct upload_pack_options {
-       int stateless_rpc;
-       int advertise_refs;
-       unsigned int timeout;
-       int daemon_mode;
-};
-
-void upload_pack(struct upload_pack_options *options);
+void upload_pack(const int advertise_refs, const int stateless_rpc,
+                const int timeout);
 
 struct repository;
-struct strvec;
 struct packet_reader;
-int upload_pack_v2(struct repository *r, struct strvec *keys,
-                  struct packet_reader *request);
+int upload_pack_v2(struct repository *r, struct packet_reader *request);
 
 struct strbuf;
 int upload_pack_advertise(struct repository *r,