summaryrefslogtreecommitdiff
path: root/t/helper/test-urlmatch-normalization.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-08-05 22:37:11 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-05 15:09:25 -0700
commitbc57b9c0cc5a123365a922fa1831177e3fd607ed (patch)
tree520d65d7a99278bbec6e1b2e25e5e045d2ac28b0 /t/helper/test-urlmatch-normalization.c
parentuse strbuf_addstr() for adding constant strings to a strbuf (diff)
downloadtgif-bc57b9c0cc5a123365a922fa1831177e3fd607ed.tar.xz
use strbuf_addstr() instead of strbuf_addf() with "%s"
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 <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-urlmatch-normalization.c')
0 files changed, 0 insertions, 0 deletions