fsmonitor: on macOS also emit NFC spelling for NFD pathname
[alt-git.git] / reflog-walk.h
blobe9e00ffd479475a6a887b04ae685a64d3b251db7
1 #ifndef REFLOG_WALK_H
2 #define REFLOG_WALK_H
4 #include "cache.h"
6 struct commit;
7 struct reflog_walk_info;
8 struct date_mode;
10 void init_reflog_walk(struct reflog_walk_info **info);
11 int add_reflog_for_walk(struct reflog_walk_info *info,
12 struct commit *commit, const char *name);
13 void show_reflog_message(struct reflog_walk_info *info, int,
14 const struct date_mode *, int force_date);
15 void get_reflog_message(struct strbuf *sb,
16 struct reflog_walk_info *reflog_info);
17 const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
18 timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info);
19 void get_reflog_selector(struct strbuf *sb,
20 struct reflog_walk_info *reflog_info,
21 const struct date_mode *dmode, int force_date,
22 int shorten);
24 int reflog_walk_empty(struct reflog_walk_info *walk);
26 struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info);
28 #endif