From: Pierre Habouzit Date: Wed, 19 Sep 2007 22:42:13 +0000 (+0200) Subject: sq_quote_argv and add_to_string rework with strbuf's. X-Git-Tag: v1.5.4-rc0~387^2~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7a33bcbe802080f3a926e93d66b65ff7c5e8c5ed?hp=7a33bcbe802080f3a926e93d66b65ff7c5e8c5ed sq_quote_argv and add_to_string rework with strbuf's. * sq_quote_buf is made public, and works on a strbuf. * sq_quote_argv also works on a strbuf. * make sq_quote_argv take a "maxlen" argument to check the buffer won't grow too big. Signed-off-by: Pierre Habouzit Signed-off-by: Junio C Hamano ---