summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorLibravatar Krzysztof Mazur <krzysiek@podlesie.net>2012-10-24 23:08:26 +0200
committerLibravatar Jeff King <peff@peff.net>2012-10-25 06:05:35 -0400
commitce5478006c7318f12e6b2abeb0c0477009db63b5 (patch)
treeede8cfab80d6c1541dde1e9e7a499cf5ef3c5404 /sha1_file.c
parentgit-send-email: skip RFC2047 quoting for ASCII subjects (diff)
downloadtgif-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 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions