t1502: test option negation
commitd5dc68f73041f95c1179fb092005e2326bdd8a7b
authorRené Scharfe <l.s.r@web.de>
Sat, 5 Aug 2023 14:39:52 +0000 (5 16:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Aug 2023 00:16:50 +0000 (6 17:16 -0700)
treef5b66c64e280d93d2bf232238d2dbf6af5d10c7c
parent8dcb49021e0134a1be1f533596e2bcf8313dea33
t1502: test option negation

Add tests for checking the "git rev-parse --parseopt" flag "!" and
whether options can be negated with a "no-" prefix.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1502-rev-parse-parseopt.sh
t/t1502/optionspec-neg [new file with mode: 0644]
t/t1502/optionspec-neg.help [new file with mode: 0644]