Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/reflog-walk.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / reflog-walk.h` 27 lines ยท 930 bytes Raw Blame History 1 #ifndef REFLOG_WALK_H 2 #define REFLOG_WALK_H 3 4 struct commit; 5 struct reflog_walk_info; 6 struct date_mode; 7 8 void init_reflog_walk(struct reflog_walk_info **info); 9 void reflog_walk_info_release(struct reflog_walk_info *info); 10 int add_reflog_for_walk(struct reflog_walk_info *info, 11 struct commit *commit, const char *name); 12 void show_reflog_message(struct reflog_walk_info *info, int, 13 struct date_mode, int force_date); 14 void get_reflog_message(struct strbuf *sb, 15 struct reflog_walk_info *reflog_info); 16 const char *get_reflog_ident(struct reflog_walk_info *reflog_info); 17 timestamp_t get_reflog_timestamp(struct reflog_walk_info *reflog_info); 18 void get_reflog_selector(struct strbuf *sb, 19 struct reflog_walk_info *reflog_info, 20 struct date_mode dmode, int force_date, 21 int shorten); 22 23 int reflog_walk_empty(struct reflog_walk_info *walk); 24 25 struct commit *next_reflog_entry(struct reflog_walk_info *reflog_info); 26 27 #endif