X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=commit.h;h=b6ad8f3f307a46cd5a0555ab346abaa20013b13a;hb=f3500825257b441134bd99b08bab3b6fd1cb4f51;hp=9f2131318d4c43fdaaca40e45e45e7d1af61cdfe;hpb=4017edcfaca3b61aa7482be32a0b0900fd8b4872;p=git.git diff --git a/commit.h b/commit.h index 9f2131318..b6ad8f3f3 100644 --- a/commit.h +++ b/commit.h @@ -86,7 +86,7 @@ struct pretty_print_context { enum date_mode date_mode; unsigned date_mode_explicit:1; int need_8bit_cte; - int show_notes; + char *notes_message; struct reflog_walk_info *reflog_info; const char *output_encoding; }; @@ -99,8 +99,6 @@ extern int has_non_ascii(const char *text); struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */ extern char *logmsg_reencode(const struct commit *commit, const char *output_encoding); -extern char *reencode_commit_message(const struct commit *commit, - const char **encoding_p); extern void get_commit_format(const char *arg, struct rev_info *); extern const char *format_subject(struct strbuf *sb, const char *msg, const char *line_separator); @@ -222,4 +220,8 @@ struct commit *get_merge_parent(const char *name); extern int parse_signed_commit(const unsigned char *sha1, struct strbuf *message, struct strbuf *signature); +extern void print_commit_list(struct commit_list *list, + const char *format_cur, + const char *format_last); + #endif /* COMMIT_H */