path: root/notmuch-import-patch.1.pod
diff options
authorSean Whitton <>2019-05-03 21:10:08 -0700
committerSean Whitton <>2019-05-03 21:51:41 -0700
commit2ccfaae0ea4ce8ab691f1b1a0e8481e9b43dbe1c (patch)
treea5caaef16a1eefef0da4db699abf524acebcfbbe /notmuch-import-patch.1.pod
parentb0aa9fc4b5d6fffda94e68a8e21b337789d117fa (diff)
new scripts: maildir-import-patch(1), notmuch-import-patch(1)
Signed-off-by: Sean Whitton <>
Diffstat (limited to 'notmuch-import-patch.1.pod')
1 files changed, 50 insertions, 0 deletions
diff --git a/notmuch-import-patch.1.pod b/notmuch-import-patch.1.pod
new file mode 100644
index 0000000..19ce1bc
--- /dev/null
+++ b/notmuch-import-patch.1.pod
@@ -0,0 +1,50 @@
+=head1 NAME
+notmuch-import-patch - import a git patch series into notmuch
+=head1 SYNOPSIS
+B<notmuch-import-patch> [I<git-format-patch(1) args>]
+B<notmuch-import-patch> is a wrapper around maildir-import-patch(1)
+for users of notmuch. It generates a patch series using
+git-format-patch(1), and then imports the series into your notmuch
+database as an e-mail thread, one message per patch.
+=head1 EXAMPLE
+See "EXAMPLE" in maildir-import-patch(1), replacing the call to
+B<maildir-import-patch> with a call to B<notmuch-import-patch>.
+B<notmuch-import-patch> tries to read configuration from the file
+B<$XDG_CONFIG_HOME/mailscripts/notmuch-import-patch>, or if
+XDG_CONFIG_HOME is not set, it falls back to trying to read
+The format is I<key = value>, one per line. The following
+configuration key is supported:
+=over 4
+=item B<maildir>
+The full path to a maildir indexed by notmuch into which
+B<notmuch-import-patch> will insert patches. Defaults to the
+"patches" subdirectory of the B<database.path> key in your notmuch
+=head1 SEE ALSO
+notmuch(1), maildir-import-patch(1), git-format-patch(1),
+=head1 AUTHOR
+B<notmuch-import-patch> was written by Sean Whitton