From f6afcdcae55b2eef68a14f9d04859aeb0435e13e Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 26 Jul 2018 15:55:16 +0800 Subject: add notmuch-extract-patch(1) Signed-off-by: Sean Whitton --- Makefile | 2 +- debian/mailscripts.manpages | 1 + notmuch-extract-patch.1.pod | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 notmuch-extract-patch.1.pod diff --git a/Makefile b/Makefile index 9491e13..a8d0233 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -MANPAGES=mdmv.1 mbox2maildir.1 notmuch-slurp-debbug.1 +MANPAGES=mdmv.1 mbox2maildir.1 notmuch-slurp-debbug.1 notmuch-extract-patch.1 all: $(MANPAGES) diff --git a/debian/mailscripts.manpages b/debian/mailscripts.manpages index 3bf8027..1d5eacd 100644 --- a/debian/mailscripts.manpages +++ b/debian/mailscripts.manpages @@ -1,3 +1,4 @@ mbox2maildir.1 mdmv.1 notmuch-slurp-debbug.1 +notmuch-extract-patch.1 diff --git a/notmuch-extract-patch.1.pod b/notmuch-extract-patch.1.pod new file mode 100644 index 0000000..ee0c6f6 --- /dev/null +++ b/notmuch-extract-patch.1.pod @@ -0,0 +1,37 @@ +=head1 NAME + +notmuch-extract-patch - extract a git patch series from notmuch + +=head1 SYNOPSIS + +B I + +=head1 DESCRIPTION + +B extracts a series of git patches from your +notmuch database. It is designed to extract patches that were +originally sent using git-send-email(1). It skips cover letters and +replies/reviews. + +=head1 OPTIONS + +None. + +=head1 EXAMPLE + +=over 4 + + % git checkout -b test-feature + % notmuch-extract-patch thread:000000000000265f | git am + +=back + +=head1 SEE ALSO + +notmuch(1), git-send-email(1) + +=head1 AUTHOR + +B was written by Aurelien Aptel. This manpage +was written by Sean Whitton for the Debian +system, but may be used by others. -- cgit v1.2.3