diff options
author | Krzysztof Mazur <krzysiek@podlesie.net> | 2012-10-24 23:08:26 +0200 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-25 06:05:35 -0400 |
commit | ce5478006c7318f12e6b2abeb0c0477009db63b5 (patch) | |
tree | ede8cfab80d6c1541dde1e9e7a499cf5ef3c5404 /compat/pread.c | |
parent | git-send-email: skip RFC2047 quoting for ASCII subjects (diff) | |
download | tgif-ce5478006c7318f12e6b2abeb0c0477009db63b5.tar.xz |
git-send-email: introduce quote_subject()
The quote_rfc2047() always adds RFC2047 quoting. To avoid
quoting ASCII subjects, before calling quote_rfc2047()
subject must be tested for non-ASCII characters. This patch
introduces a new quote_subject() function, which performs
the test and calls quote_rfc2047 only if necessary.
Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'compat/pread.c')
0 files changed, 0 insertions, 0 deletions