summaryrefslogtreecommitdiffstats
path: root/t/t0040-parse-options.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-06-09 17:55:09 +0200
committerJunio C Hamano <gitster@pobox.com>2011-06-22 20:24:51 +0200
commitf77bccaeba7a4c542e9b89d144af74bddd36fd08 (patch)
tree80636c7d0b50ba929bce8076fa92a66eec4a9d4e /t/t0040-parse-options.sh
parentstrbuf: allow strbuf_split to work on non-strbufs (diff)
downloadgit-f77bccaeba7a4c542e9b89d144af74bddd36fd08.tar.xz
git-f77bccaeba7a4c542e9b89d144af74bddd36fd08.zip
config: use strbuf_split_str instead of a temporary strbuf
This saves an allocation and copy, and also fixes a minor memory leak. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0040-parse-options.sh')
0 files changed, 0 insertions, 0 deletions