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