diff options
author | Eric Wong <e@80x24.org> | 2022-12-22 20:16:19 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-25 16:32:45 +0900 |
commit | 4810946f6032a973ad752d06a32437bc9bb35e67 (patch) | |
tree | 0b81441620ac67b4a99ff69c2217ec1700ac60e0 /Documentation/config | |
parent | 7c2ef319c52c4997256f5807564523dfd4acdfc7 (diff) | |
download | git-4810946f6032a973ad752d06a32437bc9bb35e67.tar.gz |
format-patch: support format.mboxrd with --stdout
mboxrd is a more robust output format when used with --stdout
and needs more exposure. Introducing this config knob lets
users choose the more robust format for all their --stdout
uses.
Relying on --pretty=mboxrd and including all of pretty-formats.txt
in the `git format-patch' documentation would likely be
confusing to users. Furthermore, this setting is useful across
multiple invocations. So introduce `format.mboxrd' as a boolean
configuration knob that changes the default --pretty=email format
to --pretty=mboxrd when (and only when) --stdout is in use.
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/format.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config/format.txt b/Documentation/config/format.txt index c7303d8d9f..3bd78269e2 100644 --- a/Documentation/config/format.txt +++ b/Documentation/config/format.txt @@ -139,3 +139,7 @@ For example, ------------ + will only show notes from `refs/notes/bar`. + +format.mboxrd:: + A boolean value which enables the robust "mboxrd" format when + `--stdout` is in use to escape "^>+From " lines. |