Daniel Barkalow | 96249c0 | 2007-10-29 22:03:39 -0400 | [diff] [blame] | 1 | #ifndef SEND_PACK_H |
| 2 | #define SEND_PACK_H |
| 3 | |
| 4 | struct send_pack_args { |
Daniel Barkalow | 96249c0 | 2007-10-29 22:03:39 -0400 | [diff] [blame] | 5 | unsigned verbose:1, |
Jeff King | 1207032 | 2009-08-05 16:22:36 -0400 | [diff] [blame] | 6 | quiet:1, |
Larry D'Anna | 7755585 | 2010-02-26 23:52:15 -0500 | [diff] [blame] | 7 | porcelain:1, |
Jeff King | d7c411b | 2010-10-17 02:37:03 +0800 | [diff] [blame] | 8 | progress:1, |
Andy Whitcroft | 28b9d6e | 2007-11-09 23:32:10 +0000 | [diff] [blame] | 9 | send_mirror:1, |
Daniel Barkalow | 96249c0 | 2007-10-29 22:03:39 -0400 | [diff] [blame] | 10 | force_update:1, |
| 11 | use_thin_pack:1, |
Nicolas Pitre | b74fce1 | 2009-05-01 16:56:47 -0400 | [diff] [blame] | 12 | use_ofs_delta:1, |
Shawn O. Pearce | de1a2fd | 2009-10-30 17:47:41 -0700 | [diff] [blame] | 13 | dry_run:1, |
| 14 | stateless_rpc:1; |
Daniel Barkalow | 96249c0 | 2007-10-29 22:03:39 -0400 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | int send_pack(struct send_pack_args *args, |
Daniel Barkalow | 64fcef2 | 2009-03-08 21:06:07 -0400 | [diff] [blame] | 18 | int fd[], struct child_process *conn, |
| 19 | struct ref *remote_refs, struct extra_have_objects *extra_have); |
Daniel Barkalow | 96249c0 | 2007-10-29 22:03:39 -0400 | [diff] [blame] | 20 | |
| 21 | #endif |