X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=26ec8c0d1cebcf5e79564be690517cd2eb9c6413;hb=420432d4342e214c15f063a630a883072d4e5779;hp=3cf51665816abb5e5855c036f102019eded23bd6;hpb=68a47414846dc62ccc41e41a2f5ba55f80e226b3;p=git.git diff --git a/commit.h b/commit.h index 3cf516658..26ec8c0d1 100644 --- a/commit.h +++ b/commit.h @@ -74,11 +74,16 @@ struct pretty_print_context struct reflog_walk_info *reflog_info; }; +struct userformat_want { + unsigned notes:1; +}; + extern int has_non_ascii(const char *text); struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */ 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 void userformat_find_requirements(const char *fmt, struct userformat_want *w); extern void format_commit_message(const struct commit *commit, const char *format, struct strbuf *sb, const struct pretty_print_context *context);