summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-08-20 10:49:45 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-20 13:16:50 -0700
commita92330d21c13cf244d8045f5c9d1df6e63893d58 (patch)
tree5498d804f7f465b9e6240059166e97ae29fa51e9 /contrib
parentformat_config: simplify buffer handling (diff)
downloadtgif-a92330d21c13cf244d8045f5c9d1df6e63893d58.tar.xz
get_urlmatch: avoid useless strbuf write
We create a strbuf only to insert a single string, pass the resulting buffer to a function (which does not modify the string), and then free it. We can just pass the original string instead. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions