diff options
Diffstat (limited to 'pretty.h')
-rw-r--r-- | pretty.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -139,4 +139,7 @@ const char *format_subject(struct strbuf *sb, const char *msg, /* Check if "cmit_fmt" will produce an empty output. */ int commit_format_is_empty(enum cmit_fmt); +/* Make subject of commit message suitable for filename */ +void format_sanitized_subject(struct strbuf *sb, const char *msg, size_t len); + #endif /* PRETTY_H */ |