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>
This commit is contained in:
committed by
Junio C Hamano
parent
cf818348f1
commit
2d4177c01c
21
fetch-pack.h
Normal file
21
fetch-pack.h
Normal file
@ -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
|
||||
Reference in New Issue
Block a user