]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'mm/diff-U-takes-no-negative-values' into next
authorJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2026 14:01:22 +0000 (23:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 May 2026 14:01:22 +0000 (23:01 +0900)
commitd81439a049154c40378fb183173ccdf63bc748cb
tree0ccdb5a2a92c4cbe36952920680f622b0ce90769
parentddc761aec660212910dab51302072c2243e7b008
parentd654777d73061b112c7ed7bad604b72019f5aafa
Merge branch 'mm/diff-U-takes-no-negative-values' into next

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