]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/pretty-no-strbuf-presizing' into next
authorJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2026 14:01:23 +0000 (23:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2026 14:01:23 +0000 (23:01 +0900)
Remove ineffective strbuf presizing that would have computed an
allocation that would not have fit in the available memory anyway,
or too small due to integer wraparound to cause immediate automatic
growing.

* jk/pretty-no-strbuf-presizing:
  pretty: drop strbuf pre-sizing from add_rfc2047()

1  2 
pretty.c

diff --cc pretty.c
Simple merge