Merge branch 'master' of git://github.com/git-l10n/git-po
[git/raj.git] / reflog-walk.h
blobcb3e73755d445b866ad51246dc8b1ea3ab6f1639
1 #ifndef REFLOG_WALK_H
2 #define REFLOG_WALK_H
4 #include "cache.h"
6 struct commit;
7 struct reflog_walk_info;
9 extern void init_reflog_walk(struct reflog_walk_info **info);
10 extern int add_reflog_for_walk(struct reflog_walk_info *info,
11 struct commit *commit, const char *name);
12 extern void show_reflog_message(struct reflog_walk_info *info, int,
13 const struct date_mode *, int force_date);
14 extern void get_reflog_message(struct strbuf *sb,
15 struct reflog_walk_info *reflog_info);
16 extern const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
17 extern timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info);
18 extern void get_reflog_selector(struct strbuf *sb,
19 struct reflog_walk_info *reflog_info,
20 const struct date_mode *dmode, int force_date,
21 int shorten);
23 extern int reflog_walk_empty(struct reflog_walk_info *walk);
25 struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info);
27 #endif