aboutsummaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetch-pack.h')
-rw-r--r--fetch-pack.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/fetch-pack.h b/fetch-pack.h
new file mode 100644
index 000000000..e06bf5b5c
--- /dev/null
+++ b/fetch-pack.h
@@ -0,0 +1,21 @@
+#ifndef FETCH_PACK_H
+#define FETCH_PACK_H
+
+struct fetch_pack_args
+{
+ const char *uploadpack;
+ int quiet;
+ int keep_pack;
+ int unpacklimit;
+ int use_thin_pack;
+ int fetch_all;
+ int verbose;
+ int depth;
+ int no_progress;
+};
+
+void setup_fetch_pack(struct fetch_pack_args *args);
+
+struct ref *fetch_pack(const char *dest, int nr_heads, char **heads);
+
+#endif