diff options
author | René Scharfe <l.s.r@web.de> | 2016-07-21 18:46:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-22 09:22:26 -0700 |
commit | 31471ba21ee29886ab856981e52f723c913d7f40 (patch) | |
tree | 3d816df586a76c6112c81fe276c956248e9852c5 /GIT-VERSION-GEN | |
parent | use strbuf_addbuf() for appending a strbuf to another (diff) | |
download | tgif-31471ba21ee29886ab856981e52f723c913d7f40.tar.xz |
strbuf: avoid calling strbuf_grow() twice in strbuf_addbuf()
Implement strbuf_addbuf() as a normal function in order to avoid calling
strbuf_grow() twice, with the second callinside strbud_add() being a
no-op. This is slightly faster and also reduces the text size a bit.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions