mbox-extract-patch(1) | User Commands | mbox-extract-patch(1) |
mbox-extract-patch - extract a git patch series from an mbox
mbox-extract-patch [OPTIONS] <MBOX
mbox-extract-patch extracts a series of git patches from an mbox. It is designed to extract patches that were originally sent using git-send-email(1). It skips cover letters and replies/reviews in its output.
If this option is not specified, and there is more than one series, default to extracting the version of the patch series with the highest version number we find.
Note that this option should not usually be needed, because best practices when sharing patches with git-send-email(1) include starting a new thread when posting a revised series. The --in-reply-to option to git-format-patch(1) is used mainly for posting a patch series in reply to a bug report.
Acked-by: A. Developer <a.dev@example.net>
sent in reply to those patches. --trailers is on by default, and --no-trailers can be used to disable adding the trailers.
% git checkout -b test-feature % mbox-extract-patch <thread.mbox | git am
Detection of cover letters is currently quite simplistic.
Sean Whitton <spwhitton@spwhitton.name>
Debian Project | perl v5.36.0 |