diff options
| author | Eric Wong <e@80x24.org> | 2022-11-14 09:41:14 +0000 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2022-11-14 17:27:49 -0500 |
| commit | 99d0b829c7b376b1ff562a5782e24df47747bb65 (patch) | |
| tree | fd45c829eb41f14015bba664357d2e0bf6bf7d9a /t/t4150-am.sh | |
| parent | 319605f8f00e402f3ea758a02c63534ff800a711 (diff) | |
| download | git-99d0b829c7b376b1ff562a5782e24df47747bb65.tar.gz | |
format-patch: add --mboxrd alias for --pretty=mboxrd
mboxrd is a superior output format when used with --stdout and
needs more exposure. Including pretty-formats.txt would be
excessive, since documenting --pretty= for `git format-patch'
would likely be confusing to users.
Instead of documenting --pretty, add an --mboxrd alias to save
keystrokes and improve documentation.
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t4150-am.sh')
| -rwxr-xr-x | t/t4150-am.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4150-am.sh b/t/t4150-am.sh index cdad4b6880..9a128c16a6 100755 --- a/t/t4150-am.sh +++ b/t/t4150-am.sh @@ -1033,7 +1033,7 @@ test_expect_success 'am --patch-format=mboxrd handles mboxrd' ' >From extra escape for reversibility INPUT_END git commit -F msg && - git format-patch --pretty=mboxrd --stdout -1 >mboxrd1 && + git format-patch --mboxrd --stdout -1 >mboxrd1 && grep "^>From could trip up a loose mbox parser" mboxrd1 && git checkout -f first && git am --patch-format=mboxrd mboxrd1 && |
