Re: [PATCH 2/3] strbuf: add strbuf_percentquote_buf
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 12, 2010, 16:19 UTC
- Message-ID
- <alpine.DEB.1.00.1001121718210.4985@pacific.mpi-cbg.de>
- In-Reply-To
- <20100112154153.GB24957@coredump.intra.peff.net>
Hi,
On Tue, 12 Jan 2010, Jeff King wrote:
> This is handy for creating strings which will be fed to > strbuf_expand or printf.
For printf(), there is always %s%s, so I would not say your patch is useful there, but rather adds churn: first you add a percent, then you strip it away again.
Ciao, Dscho