Johannes Schindelin | 8860fd4 | 2007-01-11 11:47:48 +0100 | [diff] [blame] | 1 | #ifndef REFLOG_WALK_H |
| 2 | #define REFLOG_WALK_H |
| 3 | |
Jeff King | cd43712 | 2009-03-20 02:00:43 -0400 | [diff] [blame] | 4 | #include "cache.h" |
| 5 | |
Thomas Rast | 8f8f547 | 2009-10-19 17:48:10 +0200 | [diff] [blame] | 6 | struct reflog_walk_info; |
| 7 | |
Johannes Schindelin | 8860fd4 | 2007-01-11 11:47:48 +0100 | [diff] [blame] | 8 | extern void init_reflog_walk(struct reflog_walk_info** info); |
Johannes Schindelin | 7b69b87 | 2007-07-24 00:39:50 +0100 | [diff] [blame] | 9 | extern int add_reflog_for_walk(struct reflog_walk_info *info, |
Johannes Schindelin | 8860fd4 | 2007-01-11 11:47:48 +0100 | [diff] [blame] | 10 | struct commit *commit, const char *name); |
| 11 | extern void fake_reflog_parent(struct reflog_walk_info *info, |
| 12 | struct commit *commit); |
Jeff King | cd43712 | 2009-03-20 02:00:43 -0400 | [diff] [blame] | 13 | extern void show_reflog_message(struct reflog_walk_info *info, int, |
Junio C Hamano | 55ccf85 | 2012-05-07 14:11:32 -0700 | [diff] [blame] | 14 | enum date_mode, int force_date); |
Thomas Rast | 8f8f547 | 2009-10-19 17:48:10 +0200 | [diff] [blame] | 15 | extern void get_reflog_message(struct strbuf *sb, |
| 16 | struct reflog_walk_info *reflog_info); |
Jeff King | cd1957f | 2011-12-16 06:40:24 -0500 | [diff] [blame] | 17 | extern const char *get_reflog_ident(struct reflog_walk_info *reflog_info); |
Thomas Rast | 8f8f547 | 2009-10-19 17:48:10 +0200 | [diff] [blame] | 18 | extern void get_reflog_selector(struct strbuf *sb, |
| 19 | struct reflog_walk_info *reflog_info, |
Junio C Hamano | 55ccf85 | 2012-05-07 14:11:32 -0700 | [diff] [blame] | 20 | enum date_mode dmode, int force_date, |
Thomas Rast | 8f8f547 | 2009-10-19 17:48:10 +0200 | [diff] [blame] | 21 | int shorten); |
Johannes Schindelin | 8860fd4 | 2007-01-11 11:47:48 +0100 | [diff] [blame] | 22 | |
| 23 | #endif |