On 2024-03-13 16:29, Junio C Hamano wrote:
Documentation/diff-options.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git c/Documentation/diff-options.txt
w/Documentation/diff-options.txt
index aaaff0d46f..62eaa46d84 100644
--- c/Documentation/diff-options.txt
+++ w/Documentation/diff-options.txt
@@ -864,9 +864,10 @@ endif::git-format-patch[]
Do not show any source or destination prefix.
--default-prefix::
- Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as `diff.noprefix`.
+ Use the hardcoded default source and destination prefixes
+ ("a/" and "b/"). This is designed to be used to override
+ configuration variables such as `diff.noprefix` and
+ `diff.srcPrefix`.
How about this instead:
Ignore any configuration variables that control source and
destination prefixes, which includes `diff.noPrefix`,
`diff.srcPrefix`
and `diff.dstPrefix` (see `git-config`(1)), and use the default
prefixes `a/` and `b/`.
--line-prefix=<prefix>::
Prepend an additional prefix to every line of output.