fetch-pack.c: use oidset to check existence of loose object
[gitweb.git] / fetch-object.h
index f371300c882d74c70adbd0334dcd7f8d0a6e556e..4b269d07ed635b3e6b1f5f7b2118d290d27e7e4e 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef FETCH_OBJECT_H
 #define FETCH_OBJECT_H
 
+#include "sha1-array.h"
+
 extern void fetch_object(const char *remote_name, const unsigned char *sha1);
 
+extern void fetch_objects(const char *remote_name,
+                         const struct oid_array *to_fetch);
+
 #endif