mirror of
https://github.com/git/git.git
synced 2026-03-04 06:27:36 +01:00
Merge branch 'kh/format-patch-noprefix-is-boolean' into next
The configuration variable format.noprefix did not behave as a proper boolean variable, which has now been fixed and documented. * kh/format-patch-noprefix-is-boolean: doc: diff-options.adoc: make *.noprefix split translatable
This commit is contained in:
@@ -859,12 +859,18 @@ endif::git-format-patch[]
|
||||
Do not show any source or destination prefix.
|
||||
|
||||
`--default-prefix`::
|
||||
ifdef::git-format-patch[]
|
||||
Use the default source and destination prefixes ("a/" and "b/").
|
||||
This overrides configuration variables such as
|
||||
ifndef::git-format-patch[`diff.noprefix`,]
|
||||
ifdef::git-format-patch[`format.noprefix`,]
|
||||
This overrides configuration variables such as `format.noprefix`,
|
||||
`diff.srcPrefix`, `diff.dstPrefix`, and `diff.mnemonicPrefix`
|
||||
(see linkgit:git-config[1]).
|
||||
endif::git-format-patch[]
|
||||
ifndef::git-format-patch[]
|
||||
Use the default source and destination prefixes ("a/" and "b/").
|
||||
This overrides configuration variables such as `diff.noprefix`,
|
||||
`diff.srcPrefix`, `diff.dstPrefix`, and `diff.mnemonicPrefix`
|
||||
(see linkgit:git-config[1]).
|
||||
endif::git-format-patch[]
|
||||
|
||||
`--line-prefix=<prefix>`::
|
||||
Prepend an additional _<prefix>_ to every line of output.
|
||||
|
||||
Reference in New Issue
Block a user