X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=2d94d4148ed4048469ba79cae4f6ff2a2e3f9bca;hb=06f60e8edf1eb3a91e1af6f255bf46154168dd86;hp=2f63bc8b2fac0d748e13d4435d550d61002092b3;hpb=d6958a1a32814af69a7571daa45252018c61f969;p=git.git diff --git a/commit.h b/commit.h index 2f63bc8b2..2d94d4148 100644 --- a/commit.h +++ b/commit.h @@ -63,7 +63,8 @@ enum cmit_fmt { }; extern int non_ascii(int); -extern enum cmit_fmt get_commit_format(const char *arg); +struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */ +extern void get_commit_format(const char *arg, struct rev_info *); extern void format_commit_message(const struct commit *commit, const void *format, struct strbuf *sb); extern void pretty_print_commit(enum cmit_fmt fmt, const struct commit*,