aboutsummaryrefslogtreecommitdiff
path: root/git-gui/git-gui.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-08-20 10:49:45 -0400
committerJunio C Hamano <gitster@pobox.com>2015-08-20 13:16:50 -0700
commita92330d21c13cf244d8045f5c9d1df6e63893d58 (patch)
tree5498d804f7f465b9e6240059166e97ae29fa51e9 /git-gui/git-gui.sh
parentf2259877531ed2a58ec04aeaeb6beb5183f81f92 (diff)
downloadgit-a92330d21c13cf244d8045f5c9d1df6e63893d58.tar.gz
git-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 'git-gui/git-gui.sh')
0 files changed, 0 insertions, 0 deletions