2007-10-30 02:03:39 +00:00
|
|
|
#ifndef SEND_PACK_H
|
|
|
|
#define SEND_PACK_H
|
|
|
|
|
|
|
|
struct send_pack_args {
|
|
|
|
unsigned verbose:1,
|
2009-08-05 20:22:36 +00:00
|
|
|
quiet:1,
|
2010-02-27 04:52:15 +00:00
|
|
|
porcelain:1,
|
2010-10-16 18:37:03 +00:00
|
|
|
progress:1,
|
2007-11-09 23:32:10 +00:00
|
|
|
send_mirror:1,
|
2007-10-30 02:03:39 +00:00
|
|
|
force_update:1,
|
|
|
|
use_thin_pack:1,
|
2009-05-01 20:56:47 +00:00
|
|
|
use_ofs_delta:1,
|
2009-10-31 00:47:41 +00:00
|
|
|
dry_run:1,
|
|
|
|
stateless_rpc:1;
|
2007-10-30 02:03:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
int send_pack(struct send_pack_args *args,
|
2009-03-09 01:06:07 +00:00
|
|
|
int fd[], struct child_process *conn,
|
2013-12-05 13:02:29 +00:00
|
|
|
struct ref *remote_refs, struct sha1_array *extra_have);
|
2007-10-30 02:03:39 +00:00
|
|
|
|
|
|
|
#endif
|