From: Jonathan Nieder Date: Wed, 16 Jul 2014 23:41:51 GMT Subject: Re: [PATCH] strbuf: use strbuf_addstr() for adding C strings Message-ID: <20140716234151.GN12427@google.com> In-Reply-To: <53C70CEA.8000000@web.de> René Scharfe wrote: > Avoid code duplication and let strbuf_addstr() call strlen() for us. Nice. > Signed-off-by: Rene Scharfe > --- > builtin/commit.c | 2 +- > diff.c | 12 ++++++------ > path.c | 6 +++--- > 3 files changed, 10 insertions(+), 10 deletions(-) Reviewed-by: Jonathan Nieder