X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=reflog-walk.h;h=7bd2cd4c4e5cd9d51e645509eeacc49a83a44ba7;hb=8ec9bc0dd5852e5468db576b0cba39f9179d4610;hp=74c90964bd95dcd97a5acde83c83b2f3b61c2441;hpb=00d3278c8534a8244ae3447189401111e017fd5d;p=git.git diff --git a/reflog-walk.h b/reflog-walk.h index 74c90964b..7bd2cd4c4 100644 --- a/reflog-walk.h +++ b/reflog-walk.h @@ -3,6 +3,8 @@ #include "cache.h" +struct reflog_walk_info; + extern void init_reflog_walk(struct reflog_walk_info** info); extern int add_reflog_for_walk(struct reflog_walk_info *info, struct commit *commit, const char *name); @@ -10,5 +12,11 @@ extern void fake_reflog_parent(struct reflog_walk_info *info, struct commit *commit); extern void show_reflog_message(struct reflog_walk_info *info, int, enum date_mode); +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); #endif