summaryrefslogtreecommitdiffstats
path: root/xdiff/xpatience.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-08-19 10:55:02 +0200
committerJunio C Hamano <gitster@pobox.com>2022-08-20 23:14:55 +0200
commitee610f00e2834dbfbf4b559e6cce866e8f2aecbd (patch)
treec4b1fa4a53ce9e036729c2fbd5e68b0e8d640a19 /xdiff/xpatience.c
parentreftable: drop unused parameter from reader_seek_linear() (diff)
downloadgit-ee610f00e2834dbfbf4b559e6cce866e8f2aecbd.tar.xz
git-ee610f00e2834dbfbf4b559e6cce866e8f2aecbd.zip
reflog: assert PARSE_OPT_NONEG in parse-options callbacks
In the spirit of 517fe807d6 (assert NOARG/NONEG behavior of parse-options callbacks, 2018-11-05), this asserts that our callbacks were invoked using the right flags (since otherwise they'd segfault on the NULL arg). Both cases are already correct here, so this is mostly about annotating the functions, and appeasing -Wunused-parameters. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xpatience.c')
0 files changed, 0 insertions, 0 deletions