2007-10-30 03:03:39 +01:00
|
|
|
#ifndef SEND_PACK_H
|
|
|
|
#define SEND_PACK_H
|
|
|
|
|
|
|
|
struct send_pack_args {
|
|
|
|
unsigned verbose:1,
|
2009-08-05 22:22:36 +02:00
|
|
|
quiet:1,
|
2007-11-10 00:32:10 +01:00
|
|
|
send_mirror:1,
|
2007-10-30 03:03:39 +01:00
|
|
|
force_update:1,
|
|
|
|
use_thin_pack:1,
|
2009-05-01 22:56:47 +02:00
|
|
|
use_ofs_delta:1,
|
2009-10-31 01:47:41 +01:00
|
|
|
dry_run:1,
|
|
|
|
stateless_rpc:1;
|
2007-10-30 03:03:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
int send_pack(struct send_pack_args *args,
|
2009-03-09 02:06:07 +01:00
|
|
|
int fd[], struct child_process *conn,
|
|
|
|
struct ref *remote_refs, struct extra_have_objects *extra_have);
|
2007-10-30 03:03:39 +01:00
|
|
|
|
|
|
|
#endif
|