send-pack.hon commit t: wrap complicated expect_code users in a block (9ddc5ac)
   1#ifndef SEND_PACK_H
   2#define SEND_PACK_H
   3
   4struct send_pack_args {
   5        const char *url;
   6        unsigned verbose:1,
   7                quiet:1,
   8                porcelain:1,
   9                progress:1,
  10                send_mirror:1,
  11                force_update:1,
  12                use_thin_pack:1,
  13                use_ofs_delta:1,
  14                dry_run:1,
  15                push_cert:1,
  16                stateless_rpc:1,
  17                atomic:1;
  18};
  19
  20int send_pack(struct send_pack_args *args,
  21              int fd[], struct child_process *conn,
  22              struct ref *remote_refs, struct sha1_array *extra_have);
  23
  24#endif