Sync with 2.4.2
[git/gitweb.git] / reflog-walk.h
bloba9bd60e32d24bf61cbc2ea879b5bfd0e0e5c5c61
1 #ifndef REFLOG_WALK_H
2 #define REFLOG_WALK_H
4 #include "cache.h"
6 struct reflog_walk_info;
8 extern void init_reflog_walk(struct reflog_walk_info **info);
9 extern int add_reflog_for_walk(struct reflog_walk_info *info,
10 struct commit *commit, const char *name);
11 extern void fake_reflog_parent(struct reflog_walk_info *info,
12 struct commit *commit);
13 extern void show_reflog_message(struct reflog_walk_info *info, int,
14 enum date_mode, int force_date);
15 extern void get_reflog_message(struct strbuf *sb,
16 struct reflog_walk_info *reflog_info);
17 extern const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
18 extern void get_reflog_selector(struct strbuf *sb,
19 struct reflog_walk_info *reflog_info,
20 enum date_mode dmode, int force_date,
21 int shorten);
23 #endif