#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "commit.h" #include "refs.h" #include "diff.h" #include "repository.h" #include "revision.h" #include "string-list.h" #include "reflog-walk.h" struct complete_reflogs { … }; static int read_one_reflog(struct object_id *ooid, struct object_id *noid, const char *email, timestamp_t timestamp, int tz, const char *message, void *cb_data) { … } static void free_complete_reflog(struct complete_reflogs *array) { … } static void complete_reflogs_clear(void *util, const char *str UNUSED) { … } static struct complete_reflogs *read_complete_reflog(const char *ref) { … } static int get_reflog_recno_by_time(struct complete_reflogs *array, timestamp_t timestamp) { … } struct commit_reflog { … }; struct reflog_walk_info { … }; void init_reflog_walk(struct reflog_walk_info **info) { … } void reflog_walk_info_release(struct reflog_walk_info *info) { … } int add_reflog_for_walk(struct reflog_walk_info *info, struct commit *commit, const char *name) { … } void get_reflog_selector(struct strbuf *sb, struct reflog_walk_info *reflog_info, struct date_mode dmode, int force_date, int shorten) { … } void get_reflog_message(struct strbuf *sb, struct reflog_walk_info *reflog_info) { … } const char *get_reflog_ident(struct reflog_walk_info *reflog_info) { … } timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info) { … } void show_reflog_message(struct reflog_walk_info *reflog_info, int oneline, struct date_mode dmode, int force_date) { … } int reflog_walk_empty(struct reflog_walk_info *info) { … } static struct commit *next_reflog_commit(struct commit_reflog *log) { … } static timestamp_t log_timestamp(struct commit_reflog *log) { … } struct commit *next_reflog_entry(struct reflog_walk_info *walk) { … }