]> git.ipfire.org Git - thirdparty/git.git/blob - reflog-walk.h
Merge branch 'jh/builtin-fsmonitor-part3'
[thirdparty/git.git] / reflog-walk.h
1 #ifndef REFLOG_WALK_H
2 #define REFLOG_WALK_H
3
4 #include "cache.h"
5
6 struct commit;
7 struct reflog_walk_info;
8 struct date_mode;
9
10 void init_reflog_walk(struct reflog_walk_info **info);
11 void reflog_walk_info_release(struct reflog_walk_info *info);
12 int add_reflog_for_walk(struct reflog_walk_info *info,
13 struct commit *commit, const char *name);
14 void show_reflog_message(struct reflog_walk_info *info, int,
15 const struct date_mode *, int force_date);
16 void get_reflog_message(struct strbuf *sb,
17 struct reflog_walk_info *reflog_info);
18 const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
19 timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info);
20 void get_reflog_selector(struct strbuf *sb,
21 struct reflog_walk_info *reflog_info,
22 const struct date_mode *dmode, int force_date,
23 int shorten);
24
25 int reflog_walk_empty(struct reflog_walk_info *walk);
26
27 struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info);
28
29 #endif