]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/parse-int' into seen
authorJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 18:37:39 +0000 (10:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 18:37:39 +0000 (10:37 -0800)
commit88f860880da40f93f11bade99c7bde4bb794d3f9
tree16b089be724780ebc6d07ecd7b017c674000fa33
parentc9c35d45aab0343b3df371fd5e46af4ce987919e
parent247c6598a862152ba564267ccbd1355fd3002411
Merge branch 'jk/parse-int' into seen

Introduce a more robust way to parse a decimal integer stored in a
piece of memory that is not necessarily terminated with NUL (which
Asan strict-string-check complains even when use of strtol() is
safe due to varified existence of whitespace after the digits).

* jk/parse-int:
  fsck: use parse_unsigned_from_buf() for parsing timestamp
  cache-tree: use parse_int_from_buf()
  parse: add functions for parsing from non-string buffers
  parse: prefer bool to int for boolean returns
Makefile
cache-tree.c
compat/posix.h
fsck.c
t/meson.build