THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 satır
893B

  1. #ifndef SEND_PACK_H
  2. #define SEND_PACK_H
  3. #include "string-list.h"
  4. struct child_process;
  5. struct oid_array;
  6. struct ref;
  7. /* Possible values for push_cert field in send_pack_args. */
  8. #define SEND_PACK_PUSH_CERT_NEVER 0
  9. #define SEND_PACK_PUSH_CERT_IF_ASKED 1
  10. #define SEND_PACK_PUSH_CERT_ALWAYS 2
  11. struct send_pack_args {
  12. const char *url;
  13. unsigned verbose:1,
  14. quiet:1,
  15. porcelain:1,
  16. progress:1,
  17. send_mirror:1,
  18. force_update:1,
  19. use_thin_pack:1,
  20. use_ofs_delta:1,
  21. dry_run:1,
  22. /* One of the SEND_PACK_PUSH_CERT_* constants. */
  23. push_cert:2,
  24. stateless_rpc:1,
  25. atomic:1;
  26. const struct string_list *push_options;
  27. };
  28. struct option;
  29. int option_parse_push_signed(const struct option *opt,
  30. const char *arg, int unset);
  31. int send_pack(struct send_pack_args *args,
  32. int fd[], struct child_process *conn,
  33. struct ref *remote_refs, struct oid_array *extra_have);
  34. #endif