diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2007-09-11 05:03:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-19 12:22:30 +0200 |
commit | 2d4177c01c238071777db5b1fbd8a14efb62ce02 (patch) | |
tree | ed1207ac261a8cb2a55322b40bc0403cf2bc7013 /fetch-pack.h | |
parent | Report information on branches from remote.h (diff) | |
download | git-2d4177c01c238071777db5b1fbd8a14efb62ce02.tar.xz git-2d4177c01c238071777db5b1fbd8a14efb62ce02.zip |
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 |