status: mark --find-renames option with NONEG
commitd6627fb8999ac7275c1eeb42482dabd4fabfbd61
authorJeff King <peff@peff.net>
Mon, 5 Nov 2018 06:40:53 +0000 (5 01:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2018 03:55:35 +0000 (6 12:55 +0900)
treedcfe6cfe78c01d7dd558d4ae00fd7add14f4ad4f
parent0ad1efb4b379b4d47166c04b3103c6ead3a79673
status: mark --find-renames option with NONEG

If you run "git status --no-find-renames", it will behave the same as
"--find-renames", because we ignore the "unset" parameter (we see a NULL
"arg", but since the score argument is optional, we just think that the
user did not provide a score).

We already have a separate "--no-renames" to disable renames, so there's
not much point in supporting "--no-find-renames". Let's just flag it as
an error.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c