X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=b3c3bb70c5e737ed18df7ca665c85e339e1f3292;hb=dcf9c2e57ab8c916701dd1d4791ef479a3aaf1fc;hp=41985130d1473573af2cfd4ca97a579e999b0c0b;hpb=da2584243e4308f10adeb45e95fb090c0110fe4f;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,