From: René Scharfe Date: Wed, 16 Jul 2014 23:38:18 +0000 (+0200) Subject: strbuf: use strbuf_addstr() for adding C strings X-Git-Tag: v2.1.0-rc0~10^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cedc61a99804db99f9a658c3cccd5c2786a28501?hp=cedc61a99804db99f9a658c3cccd5c2786a28501 strbuf: use strbuf_addstr() for adding C strings Avoid code duplication and let strbuf_addstr() call strlen() for us. Signed-off-by: Rene Scharfe Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---