]> git.ipfire.org Git - thirdparty/git.git/blame - reflog-walk.h
The twentieth batch
[thirdparty/git.git] / reflog-walk.h
CommitLineData
8860fd42
JS
1#ifndef REFLOG_WALK_H
2#define REFLOG_WALK_H
3
ef3ca954 4struct commit;
8f8f5476 5struct reflog_walk_info;
88c7b4c3 6struct date_mode;
8f8f5476 7
55454427 8void init_reflog_walk(struct reflog_walk_info **info);
81ffbf83 9void reflog_walk_info_release(struct reflog_walk_info *info);
55454427 10int add_reflog_for_walk(struct reflog_walk_info *info,
ad6dad09 11 struct commit *commit, const char *name);
55454427 12void show_reflog_message(struct reflog_walk_info *info, int,
9720d23e 13 struct date_mode, int force_date);
55454427 14void get_reflog_message(struct strbuf *sb,
ad6dad09 15 struct reflog_walk_info *reflog_info);
55454427
DL
16const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
17timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info);
18void get_reflog_selector(struct strbuf *sb,
ad6dad09 19 struct reflog_walk_info *reflog_info,
9720d23e 20 struct date_mode dmode, int force_date,
ad6dad09 21 int shorten);
8860fd42 22
55454427 23int reflog_walk_empty(struct reflog_walk_info *walk);
7f97de5e 24
d08565bf
JK
25struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info);
26
8860fd42 27#endif