diff options
Diffstat (limited to 'third_party/git/pretty.h')
-rw-r--r-- | third_party/git/pretty.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/git/pretty.h b/third_party/git/pretty.h index 4ad1fc31ff33..7ce6c0b437b4 100644 --- a/third_party/git/pretty.h +++ b/third_party/git/pretty.h @@ -43,6 +43,7 @@ struct pretty_print_context { struct string_list *mailmap; int color; struct ident_split *from_ident; + unsigned encode_email_headers:1; /* * Fields below here are manipulated internally by pp_* functions and @@ -138,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 */ |