]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/parse-options-precision'
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2025 16:42:28 +0000 (09:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2025 16:42:28 +0000 (09:42 -0700)
Define .precision to more canned parse-options type to avoid bugs
coming from using a variable with a wrong type to capture the
parsed values.

* rs/parse-options-precision:
  parse-options: add precision handling for OPTION_COUNTUP
  parse-options: add precision handling for OPTION_BITOP
  parse-options: add precision handling for OPTION_NEGBIT
  parse-options: add precision handling for OPTION_BIT
  parse-options: add precision handling for OPTION_SET_INT
  parse-options: add precision handling for PARSE_OPT_CMDMODE
  parse-options: require PARSE_OPT_NOARG for OPTION_BITOP

1  2 
builtin/am.c

diff --cc builtin/am.c
Simple merge