strbuf: use strbuf_addstr() for adding C strings
authorRené Scharfe <l.s.r@web.de>
Wed, 16 Jul 2014 23:38:18 +0000 (01:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Jul 2014 20:33:52 +0000 (13:33 -0700)
Avoid code duplication and let strbuf_addstr() call strlen() for us.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found