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