aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-24 18:02:30 -0800
committerJunio C Hamano <gitster@pobox.com>2007-11-24 18:02:30 -0800
commitd1c7cd13dc7839b3c0b4d56a84f9effc9976144e (patch)
treeabe753b458d1258181130c62c67c3bb0680e2af3 /commit.h
parentMerge branch 'bs/maint-t7005' into maint (diff)
parenttest format-patch -s: make sure MIME content type is shown as needed (diff)
downloadgit-d1c7cd13dc7839b3c0b4d56a84f9effc9976144e.tar.gz
git-d1c7cd13dc7839b3c0b4d56a84f9effc9976144e.zip
Merge branch 'jc/maint-format-patch-encoding' into maint
* jc/maint-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 467872eeca..b897b5730d 100644
--- a/commit.h
+++ b/commit.h
@@ -60,8 +60,9 @@ enum cmit_fmt {
CMIT_FMT_UNSPECIFIED,
};
+extern int non_ascii(int);
extern enum cmit_fmt get_commit_format(const char *arg);
-extern unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *, unsigned long len, char **buf_p, unsigned long *space_p, int abbrev, const char *subject, const char *after_subject, enum date_mode dmode);
+extern unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *, unsigned long len, char **buf_p, unsigned long *space_p, int abbrev, const char *subject, const char *after_subject, enum date_mode dmode, int non_ascii_present);
/** Removes the first commit from a list sorted by date, and adds all
* of its parents.