]> Kevux Git Server - rit/commit
Merge branch 'mm/diff-U-takes-no-negative-values'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2026 00:40:07 +0000 (09:40 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2026 00:40:07 +0000 (09:40 +0900)
commit5830a84a1425a004a4a6377110a9fa9513c514ce
tree445974f5b12d9318e8039906acf751ae45596599
parented54ca14f4fda09d7dbf794d63e9217d31ed1448
parentd654777d73061b112c7ed7bad604b72019f5aafa
Merge branch 'mm/diff-U-takes-no-negative-values'

The command line parser for "git diff" learned a few options take
only non-negative integers.

* mm/diff-U-takes-no-negative-values:
  parse-options: clarify what "negated" means for PARSE_OPT_NONEG
  xdiff: guard against negative context lengths
  diff: reject negative values for -U/--unified
  diff: reject negative values for --inter-hunk-context
diff.c
t/t4032-diff-inter-hunk-context.sh