X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=b3c3bb70c5e737ed18df7ca665c85e339e1f3292;hb=ac9666f84a597973ef29dc7f0f7edcb3e1a3aa45;hp=41985130d1473573af2cfd4ca97a579e999b0c0b;hpb=a91df69cbb5ced7837525106ff57ff349180770b;p=git.git diff --git a/commit.h b/commit.h index 41985130d..b3c3bb70c 100644 --- a/commit.h +++ b/commit.h @@ -90,6 +90,8 @@ extern char *logmsg_reencode(const struct commit *commit, 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 const char *format_subject(struct strbuf *sb, const char *msg, + const char *line_separator); 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,