From: René Scharfe Date: Sat, 02 Sep 2023 06:20:43 GMT Subject: Re: [PATCH v2 04/10] checkout-index: delay automatic setting of to_tempfile Message-ID: In-Reply-To: <20230831212051.GD949469@coredump.intra.peff.net> Am 31.08.23 um 23:20 schrieb Jeff King: > @@ -269,6 +268,11 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix) > state.base_dir = ""; > state.base_dir_len = strlen(state.base_dir); > > + if (to_tempfile < 0) > + to_tempfile = (checkout_stage == CHECKOUT_ALL); > + if (!to_tempfile && checkout_stage == CHECKOUT_ALL) > + die("--stage=all and --no-temp are incompatible"); How about making this message translatable from the start and following the convention from 12909b6b8a (i18n: turn "options are incompatible" into "cannot be used together", 2022-01-05) to reuse the existing translations? René