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.

43 lines
1.4KB

  1. #ifndef ADVICE_H
  2. #define ADVICE_H
  3. #include "git-compat-util.h"
  4. extern int advice_fetch_show_forced_updates;
  5. extern int advice_push_update_rejected;
  6. extern int advice_push_non_ff_current;
  7. extern int advice_push_non_ff_matching;
  8. extern int advice_push_already_exists;
  9. extern int advice_push_fetch_first;
  10. extern int advice_push_needs_force;
  11. extern int advice_push_unqualified_ref_name;
  12. extern int advice_status_hints;
  13. extern int advice_status_u_option;
  14. extern int advice_status_ahead_behind_warning;
  15. extern int advice_commit_before_merge;
  16. extern int advice_reset_quiet_warning;
  17. extern int advice_resolve_conflict;
  18. extern int advice_sequencer_in_use;
  19. extern int advice_implicit_identity;
  20. extern int advice_detached_head;
  21. extern int advice_set_upstream_failure;
  22. extern int advice_object_name_warning;
  23. extern int advice_amworkdir;
  24. extern int advice_rm_hints;
  25. extern int advice_add_embedded_repo;
  26. extern int advice_ignored_hook;
  27. extern int advice_waiting_for_editor;
  28. extern int advice_graft_file_deprecated;
  29. extern int advice_checkout_ambiguous_remote_branch_name;
  30. extern int advice_nested_tag;
  31. int git_default_advice_config(const char *var, const char *value);
  32. __attribute__((format (printf, 1, 2)))
  33. void advise(const char *advice, ...);
  34. int error_resolve_conflict(const char *me);
  35. void NORETURN die_resolve_conflict(const char *me);
  36. void NORETURN die_conclude_merge(void);
  37. void detach_advice(const char *new_name);
  38. #endif /* ADVICE_H */