]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/parse-int' into jch
authorJunio C Hamano <gitster@pobox.com>
Thu, 8 Jan 2026 07:40:34 +0000 (16:40 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jan 2026 07:40:35 +0000 (16:40 +0900)
commitdb3876ce47b093e1eb746bdce76f17f3a3286c4b
treed9d077d5930ed54a835b9ff58e4d94b21e32879c
parent31274bdd179e76a8b0bb657ed4ad9640f5924973
parent247c6598a862152ba564267ccbd1355fd3002411
Merge branch 'jk/parse-int' into jch

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
compat/posix.h
fsck.c
t/meson.build