From: Junio C Hamano Date: Fri, 27 Feb 2026 16:51:07 GMT Subject: Re: [PATCH v2 2/2] doc: diff-options.adoc: show format.noprefix for format-patch Message-ID: In-Reply-To: Jean-Noël Avila writes: >> `--default-prefix`:: >> Use the default source and destination prefixes ("a/" and "b/"). >> - This overrides configuration variables such as `diff.noprefix`, >> + This overrides configuration variables such as >> +ifndef::git-format-patch[`diff.noprefix`,] >> +ifdef::git-format-patch[`format.noprefix`,] >> `diff.srcPrefix`, `diff.dstPrefix`, and `diff.mnemonicPrefix` >> (see linkgit:git-config[1]). >> > > Hello, > > This kind of sentence assembly does not fit well with translations. Each > hunk of the sentence is processed separately and it is a difficulty for > translators as they need to understand the surrounding context of a > segment when translating it. > > It is safer to just write the whole paragraph, or at least a sentence in > the ifdef/ifndef sections. Thanks, this particular patch in question is already in 'next', though.