diff options
author | Jeff King <peff@peff.net> | 2015-08-20 10:49:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-20 13:16:50 -0700 |
commit | a92330d21c13cf244d8045f5c9d1df6e63893d58 (patch) | |
tree | 5498d804f7f465b9e6240059166e97ae29fa51e9 /contrib/git-shell-commands | |
parent | format_config: simplify buffer handling (diff) | |
download | tgif-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/git-shell-commands')
0 files changed, 0 insertions, 0 deletions