summaryrefslogtreecommitdiff
path: root/fetch-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetch-object.h')
-rw-r--r--fetch-object.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fetch-object.h b/fetch-object.h
new file mode 100644
index 0000000..4b269d0
--- /dev/null
+++ b/fetch-object.h
@@ -0,0 +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