Re: [PATCH] use strbuf_addstr() instead of strbuf_addf() with "%s"

2016-08-07 Thread Johannes Schindelin
Hi René, On Fri, 5 Aug 2016, René Scharfe wrote: > Call strbuf_addstr() for adding a simple string to a strbuf instead of > using the heavier strbuf_addf(). This is shorter and documents the > intent more clearly. Looks obviously good, thanks! Ciao, Dscho

[PATCH] use strbuf_addstr() instead of strbuf_addf() with "%s"

2016-08-05 Thread René Scharfe
Call strbuf_addstr() for adding a simple string to a strbuf instead of using the heavier strbuf_addf(). This is shorter and documents the intent more clearly. Signed-off-by: Rene Scharfe --- builtin/fmt-merge-msg.c | 2 +- http.c | 2 +- sequencer.c |