X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=2d94d4148ed4048469ba79cae4f6ff2a2e3f9bca;hb=e4bffb5a1d9ab3c9c0ef0541a395d47516480d97;hp=2f63bc8b2fac0d748e13d4435d550d61002092b3;hpb=319a36a5c2da8dd07993caac43b7820bff3b0d37;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*,