revision, rev-parse: factorize incompatibility messages about - -exclude-hidden
commit81fb70f55e93ca0b5f013284e15aec0ee9f79824
authorRené Scharfe <l.s.r@web.de>
Wed, 6 Dec 2023 11:51:58 +0000 (6 12:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Dec 2023 22:41:03 +0000 (9 07:41 +0900)
tree996cface6057ad30d5558815e4b3251825177af7
parentfa518aef564a24649ee6d8bbb29ed9c183a4b7c5
revision, rev-parse: factorize incompatibility messages about - -exclude-hidden

Use the standard parameterized message for reporting incompatible
options to report options that are not accepted in combination with
--exclude-hidden.  This reduces the number of strings to translate and
makes the UI a bit more consistent.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-parse.c
revision.c
t/t6018-rev-list-glob.sh
t/t6021-rev-list-exclude-hidden.sh