2007-01-11 11:47:48 +01:00
|
|
|
#ifndef REFLOG_WALK_H
|
|
|
|
#define REFLOG_WALK_H
|
|
|
|
|
2009-03-20 07:00:43 +01:00
|
|
|
#include "cache.h"
|
|
|
|
|
2009-10-19 17:48:10 +02:00
|
|
|
struct reflog_walk_info;
|
|
|
|
|
2007-01-11 11:47:48 +01:00
|
|
|
extern void init_reflog_walk(struct reflog_walk_info** info);
|
2007-07-24 01:39:50 +02:00
|
|
|
extern int add_reflog_for_walk(struct reflog_walk_info *info,
|
2007-01-11 11:47:48 +01:00
|
|
|
struct commit *commit, const char *name);
|
|
|
|
extern void fake_reflog_parent(struct reflog_walk_info *info,
|
|
|
|
struct commit *commit);
|
2009-03-20 07:00:43 +01:00
|
|
|
extern void show_reflog_message(struct reflog_walk_info *info, int,
|
|
|
|
enum date_mode);
|
2009-10-19 17:48:10 +02:00
|
|
|
extern void get_reflog_message(struct strbuf *sb,
|
|
|
|
struct reflog_walk_info *reflog_info);
|
|
|
|
extern void get_reflog_selector(struct strbuf *sb,
|
|
|
|
struct reflog_walk_info *reflog_info,
|
|
|
|
enum date_mode dmode,
|
|
|
|
int shorten);
|
2007-01-11 11:47:48 +01:00
|
|
|
|
|
|
|
#endif
|