X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=reflog-walk.h;h=7bd2cd4c4e5cd9d51e645509eeacc49a83a44ba7;hb=8718e875080767f2c8d06c55c3fb5a6dddf0e5a0;hp=74c90964bd95dcd97a5acde83c83b2f3b61c2441;hpb=011c181cc656c8b3e48882729d1b6238e8c5c537;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