Change fetch_pack() and friends to take string_list arguments
[gitweb.git] / fetch-pack.h
index 1dbe90fa43c5aef507e9f61cbc6670afb40471df..a6a8a733112d3de0c77a60bd7114489cce0579d9 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef FETCH_PACK_H
 #define FETCH_PACK_H
 
+#include "string-list.h"
+
 struct fetch_pack_args {
        const char *uploadpack;
        int unpacklimit;
@@ -21,8 +23,7 @@ struct ref *fetch_pack(struct fetch_pack_args *args,
                       int fd[], struct child_process *conn,
                       const struct ref *ref,
                       const char *dest,
-                      int nr_heads,
-                      char **heads,
+                      struct string_list *sought,
                       char **pack_lockfile);
 
 #endif