Am 09.08.19 um 19:13 schrieb Jeff Hostetler: > On 8/8/2019 6:49 PM, René Scharfe wrote: >> void sq_quote_argv_pretty(struct strbuf *dst, const char **argv) >> { >> - int i; >> - >> - for (i = 0; argv[i]; i++) { >> - strbuf_addch(dst, ' '); >> - sq_quote_buf_pretty(dst, argv[i]); >> - } >> + strbuf_addch(dst, ' '); > > If I'm reading this correctly, this has slightly different behavior > than the original version. Perhaps: > > if (argv[0]) > strbuf_addch(dst, ' '); Oh, yes, thanks for spotting this. René