]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/use-builtin-add-overflow-explicitly-on-clang' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 04:39:22 +0000 (13:39 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 04:39:22 +0000 (13:39 +0900)
commitc223b710790ddad9fd4bb45fa40c832d97e179fb
tree7d5ee40480ff6b2a79c1c3f730e668aa54a0512d
parentfbedf2daea865179b0be108f742ed5cac3e951bb
parent29d9fdcf1098672b2146c60eea5202e840615772
Merge branch 'rs/use-builtin-add-overflow-explicitly-on-clang' into next

Micro optimization of codepaths that compute allocation sizes carefully.

* rs/use-builtin-add-overflow-explicitly-on-clang:
  use __builtin_add_overflow() in st_add() with Clang
  strbuf: use st_add3() in strbuf_grow()
git-compat-util.h