strbuf: add strbuf_addbuf_percentquote
authorJeff King <peff@peff.net>
Wed, 13 Jan 2010 17:36:42 +0000 (12:36 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Jan 2010 17:25:15 +0000 (09:25 -0800)
commit361df5df77255321b2ca409d892b4c24b7b0441d
treef4896a9a959d1a026cccb01aa6568c4522e8278c
parent0a0416a34a7ef5c64f4e0226371e4cab8c1ba982
strbuf: add strbuf_addbuf_percentquote

This is handy for creating strings which will be fed to printf() or
strbuf_expand().

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-strbuf.txt
strbuf.c
strbuf.h