diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2007-09-10 23:03:00 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-19 03:22:30 -0700 |
commit | 2d4177c01c238071777db5b1fbd8a14efb62ce02 (patch) | |
tree | ed1207ac261a8cb2a55322b40bc0403cf2bc7013 /fetch-pack.h | |
parent | cf818348f1ab577d2ecb5d11a00a1d4122435ece (diff) | |
download | git-2d4177c01c238071777db5b1fbd8a14efb62ce02.tar.gz |
Make fetch-pack a builtin with an internal API
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
-rw-r--r-- | fetch-pack.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fetch-pack.h b/fetch-pack.h new file mode 100644 index 0000000000..e06bf5b5c4 --- /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 |