diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-08-26 12:05:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-26 12:05:57 -0700 |
commit | 1d2a7e0c589e8c1328ebabd64f74d26357d431b2 (patch) | |
tree | 10f252d56f0e7e805fbb09209ee16550085d2f88 /commit.h | |
parent | b8132342e9fed8470037b0e31f60f668bace0725 (diff) | |
parent | 0a7f448355f38b8a626ec3c120ad7118690897fe (diff) | |
download | git-1d2a7e0c589e8c1328ebabd64f74d26357d431b2.tar.gz |
Merge branch 'js/maint-cover-letter-non-ascii' into maint
* js/maint-cover-letter-non-ascii:
Correctly mark cover letters' encodings if they are not pure ASCII
Expose the has_non_ascii() function
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,6 +64,7 @@ enum cmit_fmt { }; extern int non_ascii(int); +extern int has_non_ascii(const char *text); struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */ extern char *reencode_commit_message(const struct commit *commit, const char **encoding_p); |