diff options
author | René Scharfe <l.s.r@web.de> | 2019-09-18 18:35:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-18 11:19:06 -0700 |
commit | 4b3aa170d14279aaf40db95bf3d93d43099e9614 (patch) | |
tree | 3d6097d4649b7102965c2ecc1c167459756f98fc /t/valgrind/analyze.sh | |
parent | Git 2.23 (diff) | |
download | tgif-4b3aa170d14279aaf40db95bf3d93d43099e9614.tar.xz |
sha1_name: simplify strbuf handling in interpret_nth_prior_checkout()
Pass the target strbuf to the callback function grab_nth_branch_switch()
by reference so that it can add the result string directly instead of
having it put the string into a temporary strbuf first. This gets rid
of an extra allocation and a string copy.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/valgrind/analyze.sh')
0 files changed, 0 insertions, 0 deletions