reflog-walk.hon commit Merge branch 'pw/add-p-single' (60f8b89)
   1#ifndef REFLOG_WALK_H
   2#define REFLOG_WALK_H
   3
   4#include "cache.h"
   5
   6struct reflog_walk_info;
   7
   8extern void init_reflog_walk(struct reflog_walk_info **info);
   9extern int add_reflog_for_walk(struct reflog_walk_info *info,
  10                struct commit *commit, const char *name);
  11extern void show_reflog_message(struct reflog_walk_info *info, int,
  12                                const struct date_mode *, int force_date);
  13extern void get_reflog_message(struct strbuf *sb,
  14                struct reflog_walk_info *reflog_info);
  15extern const char *get_reflog_ident(struct reflog_walk_info *reflog_info);
  16extern timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info);
  17extern void get_reflog_selector(struct strbuf *sb,
  18                struct reflog_walk_info *reflog_info,
  19                const struct date_mode *dmode, int force_date,
  20                int shorten);
  21
  22extern int reflog_walk_empty(struct reflog_walk_info *walk);
  23
  24struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info);
  25
  26#endif