clean: factorize incompatibility message
commitf5f9e972bd437f24365a26ebfbfebba4bc260984
authorRené Scharfe <l.s.r@web.de>
Wed, 6 Dec 2023 11:51:59 +0000 (6 12:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Dec 2023 22:41:03 +0000 (9 07:41 +0900)
tree426cd684b3e613b84508194547c7553da7d43252
parent81fb70f55e93ca0b5f013284e15aec0ee9f79824
clean: factorize incompatibility message

Use the standard parameterized message for reporting incompatible
options to inform users that they can't use -x and -X together.  This
reduces the number of strings to translate and makes the UI slightly
more consistent.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c