show-branch: mark --reflog option as NONEG
commit403d2ba52cb63d4bf5a8baf5480efc538f405c09
authorJeff King <peff@peff.net>
Mon, 5 Nov 2018 06:42:40 +0000 (5 01:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2018 03:55:36 +0000 (6 12:55 +0900)
tree5959446739c88824009d6036cbb426c97c8d9c73
parent964fd83b12cbf7907f0bdb4671a467fe381487d3
show-branch: mark --reflog option as NONEG

Running "git show-branch --no-reflog" will behave as if "--reflog" was
given with no options, which makes no sense.

In theory this option might be used to cancel an earlier "--reflog"
option, but the semantics are not clear. Let's punt on it and just
disallow the broken option.

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