Add new function strbuf_add_xml_quoted()
commit5963c0367f00df0e5eeb761f1ef77a33c8f54c40
authorMichael Haggerty <mhagger@alum.mit.edu>
Sun, 25 Nov 2012 11:08:34 +0000 (25 12:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 21:30:08 +0000 (26 13:30 -0800)
tree3868310a0904f0371f649f2ce5490f2be9250003
parentd1eded46fa5ed350ff52654103623090101b3ba6
Add new function strbuf_add_xml_quoted()

Substantially the same code is present in http-push.c and imap-send.c,
so make a library function out of it.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strbuf.c
strbuf.h