2007-01-11 18:47:48 +08:00
|
|
|
#ifndef REFLOG_WALK_H
|
|
|
|
#define REFLOG_WALK_H
|
|
|
|
|
2009-03-20 14:00:43 +08:00
|
|
|
#include "cache.h"
|
|
|
|
|
2009-10-19 23:48:10 +08:00
|
|
|
struct reflog_walk_info;
|
|
|
|
|
2014-09-01 04:11:31 +08:00
|
|
|
extern void init_reflog_walk(struct reflog_walk_info **info);
|
2007-07-24 07:39:50 +08:00
|
|
|
extern int add_reflog_for_walk(struct reflog_walk_info *info,
|
2007-01-11 18:47:48 +08:00
|
|
|
struct commit *commit, const char *name);
|
|
|
|
extern void fake_reflog_parent(struct reflog_walk_info *info,
|
|
|
|
struct commit *commit);
|
2009-03-20 14:00:43 +08:00
|
|
|
extern void show_reflog_message(struct reflog_walk_info *info, int,
|
2012-05-08 05:11:32 +08:00
|
|
|
enum date_mode, int force_date);
|
2009-10-19 23:48:10 +08:00
|
|
|
extern void get_reflog_message(struct strbuf *sb,
|
|
|
|
struct reflog_walk_info *reflog_info);
|
2011-12-16 19:40:24 +08:00
|
|
|
extern const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
|
2009-10-19 23:48:10 +08:00
|
|
|
extern void get_reflog_selector(struct strbuf *sb,
|
|
|
|
struct reflog_walk_info *reflog_info,
|
2012-05-08 05:11:32 +08:00
|
|
|
enum date_mode dmode, int force_date,
|
2009-10-19 23:48:10 +08:00
|
|
|
int shorten);
|
2007-01-11 18:47:48 +08:00
|
|
|
|
|
|
|
#endif
|