]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/pretty-no-strbuf-presizing'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2026 00:40:08 +0000 (09:40 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2026 00:40:08 +0000 (09:40 +0900)
commit734fd43d3fd5477e6be7c2609a812f5b5c8c5b01
treefc99ea7b40d9dea79ec45276ea255a2e245a0849
parentbbc230981d4d264aff51963437ce80112f6efb14
parenta9ce8526dcc8592429ae73c8f73b29792aa30aa1
Merge branch 'jk/pretty-no-strbuf-presizing'

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()
pretty.c