X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=3a7b06a828930ca23d0fb045feab993a1452b2d3;hb=7bc2508bfe0f7e8c0371a68f57ac5b7d4fe7e1f0;hp=4c05864fb426d61a652f7df12c13315665972846;hpb=78a935d48b28ebf5b1af348d7e57763f2955afd1;p=git.git diff --git a/commit.h b/commit.h index 4c05864fb..3a7b06a82 100644 --- a/commit.h +++ b/commit.h @@ -65,6 +65,8 @@ enum cmit_fmt { extern int non_ascii(int); 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 format_commit_message(const struct commit *commit, const void *format, struct strbuf *sb,