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.

28 lines
885B

  1. #ifndef REFLOG_WALK_H
  2. #define REFLOG_WALK_H
  3. #include "cache.h"
  4. struct commit;
  5. struct reflog_walk_info;
  6. void init_reflog_walk(struct reflog_walk_info **info);
  7. int add_reflog_for_walk(struct reflog_walk_info *info,
  8. struct commit *commit, const char *name);
  9. void show_reflog_message(struct reflog_walk_info *info, int,
  10. const struct date_mode *, int force_date);
  11. void get_reflog_message(struct strbuf *sb,
  12. struct reflog_walk_info *reflog_info);
  13. const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
  14. timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info);
  15. void get_reflog_selector(struct strbuf *sb,
  16. struct reflog_walk_info *reflog_info,
  17. const struct date_mode *dmode, int force_date,
  18. int shorten);
  19. int reflog_walk_empty(struct reflog_walk_info *walk);
  20. struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info);
  21. #endif