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