Introduce usagef() that takes a printf-style format
[gitweb.git] / send-pack.h
index 8ff1dc35390083c3648c4ee5790f35633d956069..8b3cf028ed1c54f8a513ad0bcddc847ad47fe602 100644 (file)
@@ -2,17 +2,17 @@
 #define SEND_PACK_H
 
 struct send_pack_args {
-       const char *receivepack;
        unsigned verbose:1,
-               send_all:1,
+               quiet:1,
                send_mirror:1,
                force_update:1,
                use_thin_pack:1,
+               use_ofs_delta:1,
                dry_run:1;
 };
 
 int send_pack(struct send_pack_args *args,
-             const char *dest, struct remote *remote,
-             int nr_heads, const char **heads);
+             int fd[], struct child_process *conn,
+             struct ref *remote_refs, struct extra_have_objects *extra_have);
 
 #endif