Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Documentation: format-patch has no --mbox option

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:10

Junio C Hamano [off-list ref] writes:
Frank Lichtenheld [off-list ref] writes:
quoted
git-applymbox and git-mailinfo refer to a --mbox
option of git-format-patch. But there is no such
option AFAICT. mbox output can produced with
format-patch --stdout.

This patch only replaces --mbox with --stdout.
Some further explanation and/or format-patch
arguments (e.g. -k) might be needed.
I would agree.  "Reads single mbox with one or more patches in
it, without munging the subject line" is what it really does, so
we obviously mean "--stdout -k >mbox" here.
Come to think of it, "no munging of Subject lines" is orthogonal
to the number of patches in a file, so it should say that the
option corresponds to -k in format-patch, I think.

So, I think we can just do s/--mbox/-k/, instead of s/--mbox/--stdout/
which is what you did.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help