]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fetch-pack.h
fetch-pack: perform a fetch using v2
[thirdparty/git.git] / fetch-pack.h
index b6aeb43a8e21437581e0e834e77754922f8c6ee9..7afca730560b7fb62ff7111a044a29d7caac0b8c 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "string-list.h"
 #include "run-command.h"
+#include "protocol.h"
 
 struct oid_array;
 
@@ -43,7 +44,8 @@ struct ref *fetch_pack(struct fetch_pack_args *args,
                       struct ref **sought,
                       int nr_sought,
                       struct oid_array *shallow,
-                      char **pack_lockfile);
+                      char **pack_lockfile,
+                      enum protocol_version version);
 
 /*
  * Print an appropriate error message for each sought ref that wasn't