]> git.ipfire.org Git - thirdparty/git.git/commit - send-pack.c
use strbuf_addstr() for adding constant strings to a strbuf
authorRené Scharfe <l.s.r@web.de>
Sat, 30 Jul 2016 17:36:23 +0000 (19:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2016 20:42:10 +0000 (13:42 -0700)
commit02962d36845b89145cd69f8bc65e015d78ae3434
treef832d2d16e20f08f3f886ac7e6bc1b1bfb127524
parent08df31eeccfe1576971ea4ba42570a424c3cfc41
use strbuf_addstr() for adding constant strings to a strbuf

Replace uses of strbuf_addf() for adding strings with more lightweight
strbuf_addstr() calls.

In http-push.c it becomes easier to see what's going on without having
to verfiy that the definition of PROPFIND_ALL_REQUEST doesn't contain
any format specifiers.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-parse.c
http-push.c
send-pack.c
t/helper/test-run-command.c