]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
diff.c
t/t4032-diff-inter-hunk-context.sh

diff --cc diff.c
Simple merge
Simple merge