diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-04 01:28:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-04 01:28:46 -0700 |
commit | 140dd77a5cb2e61dcb942e245a2474fae95e42a5 (patch) | |
tree | 7403c48e96c005ce3b798566a925effd5528599a /commit.h | |
parent | 02273fdbd07ddaa13a232db0ae63a720c4a013f0 (diff) | |
parent | aacb8f10a70c07dfe1461684f098313f0edb371f (diff) | |
download | git-140dd77a5cb2e61dcb942e245a2474fae95e42a5.tar.gz |
Merge branch 'jc/format-patch-encoding'
* jc/format-patch-encoding:
test format-patch -s: make sure MIME content type is shown as needed
format-patch -s: add MIME encoding header if signer's name requires so
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -61,13 +61,15 @@ enum cmit_fmt { CMIT_FMT_UNSPECIFIED, }; +extern int non_ascii(int); extern enum cmit_fmt get_commit_format(const char *arg); extern void format_commit_message(const struct commit *commit, const void *format, struct strbuf *sb); extern void pretty_print_commit(enum cmit_fmt fmt, const struct commit*, struct strbuf *, int abbrev, const char *subject, - const char *after_subject, enum date_mode); + const char *after_subject, enum date_mode, + int non_ascii_present); /** Removes the first commit from a list sorted by date, and adds all * of its parents. |