]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/use-builtin-add-overflow-explicitly-on-clang'
authorJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 05:15:44 +0000 (14:15 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 05:15:45 +0000 (14:15 +0900)
commitebdb4c523d5e372a6e9556d218e1cb295d23b7a2
tree294c96da3ea263422b6aceea6dc57b6d6f503577
parenta77a640250eb7b4c12dfc20962727651e4aedefb
parent29d9fdcf1098672b2146c60eea5202e840615772
Merge branch 'rs/use-builtin-add-overflow-explicitly-on-clang'

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